JFrame background setzen funktioniert nicht?
Folgendes hat nicht funktioniert:
frame.getContentPane().setBackground(Color.BLUE);
und
frame.setBackground(Color.BLUE);
und
frame.getContentPane().setBackground(new Color(0, 0, 0));
PC,
Computer,
Technik,
programmieren,
Java