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 |
Which method is used by the applet to recognize the height and width?
Explain the difference between swing and jsf.
Why are swing components called lightweight?
What is swing container?
What are the two key features of swing?
Which layout does swing use by default?
What class is at the top of the AWT event hierarchy?
What are the various components of swing?
Why swing components are called lightweight components?
how can u handle runtime exceptions in java plz explain with examples briefly?
What is jlabel java swing?
How is multi-threading gets implemented using swing?