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 |
How to move from one page to another in java swing?
What is swing control?
What is jfc? What are the features of jfc?
How do you swing an applet?
What is layout in java swing?
What is pane in swing?
Is swing thread-safe?
Is java swing deprecated?
What is the what is the difference between invokeandwait() and invokelater()? ?
What is jpanel swing?
What is swing gui?
What method is used to specify a container's layout?