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



I want to change the appearance of Frame in Runtime, what class can be used to do this?..

Answer / ankur pandya

LookAndFeel

Is This Answer Correct ?    1 Yes 1 No

I want to change the appearance of Frame in Runtime, what class can be used to do this?..

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

Post New Answer

More Swing Interview Questions

What is swing package in java?

0 Answers  


How to create a swing gui in java?

0 Answers  


How to add calendar in java swing using eclipse?

0 Answers  


What is swing api?

0 Answers  


how can u handle runtime exceptions in java plz explain with examples briefly?

3 Answers   Fujitsu, IBM,






What is java awt and swing?

0 Answers  


How to render an html page using only swing.

0 Answers  


Why swing components are called lightweight components?

0 Answers  


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

0 Answers  


What is the what is the difference between invokeandwait() and invokelater()? ?

0 Answers  


What is the corresponding Layout for Card in Swing?

3 Answers   Patni,


What is double buffering ?

0 Answers  


Categories