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 features of JFC?
What is an event handler in swing?
Is java swing a framework?
How to render an html page using only swing.
What is import javax swing?
What is jfc? What are the features of jfc?
What is layout in java swing?
What is swing components in java?
What are the differences between Swing and AWT?
Why do we use swing in java?
What is the use of jcomponent class in swing?
Is swing still used?