I want to change the appearance of Frame in Runtime, what
class can be used to do this?
Answers were Sorted based on User's Feedback
Answer / pradyut
Graphics 2d g;
JFrame f;
g.dispose();
setPreferredSize(new
Dimension(128+r.nextInt(128),128+r.nextInt(128)));
f.pack();
| Is This Answer Correct ? | 1 Yes | 2 No |
What are the containers available in swing?
What is the function of internal frame in swing?
What are the swing components?
What is the use of JTree?
What is the difference between swing and applet?
What is swing gui?
What is the purpose of serialization in swings?
how to give transparency to JComboBox,JList and JTable
What is import javax swing * used for?
What are the advantages of swing over awt?
Name the borders provided by Swing?
What is javax swing joptionpane?