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 are the features of JFC?

1 Answers  


What is an event handler in swing?

0 Answers  


Is java swing a framework?

0 Answers  


How to render an html page using only swing.

0 Answers  


What is import javax swing?

0 Answers  






What is jfc? What are the features of jfc?

0 Answers  


What is layout in java swing?

0 Answers  


What is swing components in java?

0 Answers  


What are the differences between Swing and AWT?

0 Answers  


Why do we use swing in java?

0 Answers  


What is the use of jcomponent class in swing?

0 Answers  


Is swing still used?

0 Answers  


Categories