• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help me *_*!

 
leo tien
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to implement such function:
when i press a button , it can add a CheckBox on the panel and refresh it on the frame...
who can help me ....thanks a lot..
 
Mag Hoehme
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Leo,
one remark first: the topic "help" is not very useful. You improve your chances of getting help when you name your topic like "Refreshing checkbox".
I hope I got your question right: Normally you do not need to refresh a checkbox. It will be automatically checked/unchecked when you call setSelected (true/false) on the checkbox.
Hope this helps.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually my question is why do you need a checkbox to appear on the Panel only after you click a button? What is the checkbox for?
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic