Java Solution
Advertisement
Monday, 19 December 2011
How to change the background color of a Frame in swing ?
JFrame jf=new JFrame(String title);
jf.getContentPane().setBackground(Color.PINK);
1 comment:
OHM Java Class
19 December 2011 at 03:56
jf.setBackground(Color.PINK) will not work
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Advertisement
jf.setBackground(Color.PINK) will not work
ReplyDelete