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
Why should the implementation of any swing callback (like a listener) execute quickly?
What is the difference between swing and awt in java?
What is difference between jframe and swing?
What is awt and swing in java?
What are heavyweight components? What is lightweight component?
What is a component in swing?
How to move from one page to another in java swing?
What are controls and what are different types of controls in awt?
What is the use of swing in java?
What is swing?
What is actionlistener in java swing?
How to align components in java swing?
Which method is used for setting security in applets?
Which is better swing or awt?
What is swing api?