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 link two forms in java swing?
What are the various components of swing?
What is import javax swing * used for?
What are swing components?
Is there any heavyweight component in swings?
Why does JComponent have add() and remove() methods but Component does not?
What is meant by JFC?
What is difference between jframe and swing?
Explain the differences between an applet and a Japplet?
2 Answers College School Exams Tests, Satyam,
What is the design pattern that java uses for all swing components ?
What is an event handler in swing?
How is parsing html used in swing?