Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes updating Jpanel at run time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "updating Jpanel at run time" Watch "updating Jpanel at run time" New topic
Author

updating Jpanel at run time

aymane chetibi
Ranch Hand

Joined: Apr 12, 2006
Posts: 175
hi all,

I have a button that adds a Label to a Panel when clicked.

how can I display this label at runtime.
what is the function to redraw the panel ?

thanks.
regards,
aymane chetibi
Ranch Hand

Joined: Apr 12, 2006
Posts: 175
that's fine I got it to work.

Thanks anyway!
 
 
subject: updating Jpanel at run time