w.setBounds(385, 350, 500, 300);
w.
setBackground(Color.
darkGray); w.setVisible(true);
frame.setBounds(200, 150, 800, 600);
frame.setLayout(null);
a.setBounds(40, 350, 100, 30);
a.
setBackground(Color.
red); a.setEnabled(true);
d.setBounds(40, 400, 100, 30);
d.
setBackground(Color.
BLUE); d.setEnabled(true);
cre.setBounds(40, 450, 100, 30);
cre.
setBackground(Color.
DARK_GRAY); cre.setEnabled(true);
frame.add(cre);
frame.add(d);
frame.add(a);
frame.setVisible(true);