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 method is used to specify a container's layout?
What is swing delegation event model in java?
Which window contains the swing controls?
What is import javax swing in java?
What is java swing components?
Is java swing a framework?
how can u handle runtime exceptions in java plz explain with examples briefly?
What is the difference between AWT & Swing?
21 Answers BeBo Technologies, Deshaw, TCS,
What is content pane in swing?
What is swing gui in java?
Is swing still used in java?
How is multi-threading gets implemented using swing?