[JAVA2D] repainting JPanel
I'm having problems trying to figure out how to redraw a JPanel with
custom graphics after a JDialog, displayed on top of the JPanel, has
been disposed of. Also having the same problem when the window has lost
focus or been maximized after being minimized to toolbar.
If I overwrite the paintComponent() method of the JPanel, will Java know
to paint the JPanel after the JDialog has been disposed, or if focus has
returned to the window? Or do I have to implement focusListeners with
the paintComponent() method?
Thanks in advance,
To unsubscribe, send email to firstname.lastname@example.org and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
email@example.com and include in the body of the message "help".