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 is swing package in java?
How to create a swing gui in java?
How to add calendar in java swing using eclipse?
What is swing api?
how can u handle runtime exceptions in java plz explain with examples briefly?
What is java awt and swing?
How to render an html page using only swing.
Why swing components are called lightweight components?
Hello ..Friends. I need a Code which makes a software of Enter the cheque Details.. means any enduser enter the details in a Particular field that should be printed on the paper On Cheque. at the backend side it sholud be printed on pdf file. Thanks in Advance
What is the what is the difference between invokeandwait() and invokelater()? ?
What is the corresponding Layout for Card in Swing?
What is double buffering ?