What is the class in Swing to change the appearance of the Frame in Runtime.

Showing Answers 1 - 1 of 1 Answers

pradyutb

  • Sep 22nd, 2009
 

Graphics 2d g;
JFrame f;

g.dispose();
      setPreferredSize(new Dimension(128+r.nextInt(128),128+r.nextInt(128)));
      f.pack();

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions