I want to change the appearance of Frame in Runtime, what
class can be used to do this?
Answer Posted / 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 |
Post New Answer View All Answers
How is parsing html used in swing?
What is swing framework in java?
How to change button color in java swing?
Is java swing still used?
What does javax swing do?
What is the relationship between clipping and repainting?
How to create image slideshow in java swing?
What is the use of double buffering in swings?
What is swing gui?
What is the design pattern that java uses for all swing components ?
Is java swing deprecated?
What is the process of setting the layout manager?
Is swing still used in java?
Why swings are used in java?
Why should any swing call back implementation execute quickly?