Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Joel Evans   on Sep 18 In Java Category.

  
Question Answered By: Landra Schmidt   on Sep 18

you should use the following methods carefully.

-add(Component c)

-remove(Component c)

- doLayout()
- validate()



get sure that you call the "doLayout()" and
"validate()" methods of your container every time you
make a change in by adding and removing a component  to
your container.

Share: 

 

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

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


Tagged: