K
KenH
I have an applet with 2 JPanels (which both sit inside a third
container JPanel). One is a custom panel I built and I have no problems
with it. The other is a 'control panel' and contains some JButtons,
JTextFields, JLabels, and JRadioButtons.
My problem is that I cannot get it to refresh after it's been covered
by another window or whatever. I tried putting a call to repaint that
panel in the main applet's paint() method, but no joy. Interesting
thing is I use Tooltips for the control panel buttons. When a tooltip
disappears *most" of the panel refreshes (all but the top part of the
border).
I'm guessing at this point. Ideas?
Ken
container JPanel). One is a custom panel I built and I have no problems
with it. The other is a 'control panel' and contains some JButtons,
JTextFields, JLabels, and JRadioButtons.
My problem is that I cannot get it to refresh after it's been covered
by another window or whatever. I tried putting a call to repaint that
panel in the main applet's paint() method, but no joy. Interesting
thing is I use Tooltips for the control panel buttons. When a tooltip
disappears *most" of the panel refreshes (all but the top part of the
border).
I'm guessing at this point. Ideas?
Ken