Answers for "setBackground(color.blue) java"

2

how to set frame colo in java

getContentPane().setBackground(Color.YELLOW);  //Whatever color
Posted by: Guest on May-26-2020
0

jframe color

private JFrame frame;
frame.getContentPane().setBackground(Color.BLACK);
Posted by: Guest on December-06-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language