Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: James Rivera   on Jan 08 In Java Category.

  
Question Answered By: Roderick King   on Jan 08

make sure you call pack() in the Frame class  befre setVisible( true ).
pack will arrange all the components in the frame according to the
layout manager. if you call pack after setVisVisible( true ) you will
see all the components get shuffled arround when you call pack().

Share: 

 

This Question has 10 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on JFC / Swing Or get search suggestion and latest updates.


Tagged: