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

How to link two forms in java swing?

0 Answers  


What are the various components of swing?

0 Answers  


What is import javax swing * used for?

0 Answers  


What are swing components?

0 Answers  


Is there any heavyweight component in swings?

0 Answers  






Why does JComponent have add() and remove() methods but Component does not?

0 Answers  


What is meant by JFC?

6 Answers   Mindlogicx, SDS,


What is difference between jframe and swing?

0 Answers  


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 ?

0 Answers  


What is an event handler in swing?

0 Answers  


How is parsing html used in swing?

0 Answers  


Categories