By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,741 Members | 2,009 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,741 IT Pros & Developers. It's quick & easy.

pls help: JToolBar or JButton refresh issues

P: n/a

I have a JMenuBar object that contains a JToolBar object which contains

some JButton objects. After I let my applet sit for > 20 minutes, the

graphics on those buttons would disappear. There seems to be nothing I

can do to reload these graphics. I declare a JToolBar toolBar and call

the appropriate functions to create the toolbar elements and add it to

the pane, let's call this load().

As a test, I have tried toolBar.updateUI(), toolBar.validate(), and even

re-calling load(). But nothing will refresh makes the graphics

re-appear! Please help. Thanks in advance.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.