G
Guest
Gast
Hi,
Ich habe ein GUI- Programm, das von JFrame abgeleitet ist. Wie kann ich die Farbe der GUI ändern? Ich habe mit
this.setBackground(Color.black); versucht gings aber nichts.
Danke
Ich habe ein GUI- Programm, das von JFrame abgeleitet ist. Wie kann ich die Farbe der GUI ändern? Ich habe mit
this.setBackground(Color.black); versucht gings aber nichts.
Danke
Code:
public class Test extends JFrame
{
public Test()
{
this.setTitle("Test GUI");
Container myCP = this.getContentPane();
myCP.setLayout(new BorderLayout());
.
.
.
.
.
.
this.setVisible(true);
}
}