Skip to main content

[JAVA2D] Image display Issue

1 reply [Last post]
Anonymous

I have this issue that I display some images on a panel. when I
minimize this panel or shift to another panel and then bring this
panel back to the screen then I find a blank screen; the previously
drawn images are gone. Can someone please give me a solution to this?

Regards
Adil Raja

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mars

Greetings Fair King,
in Java Swing Set, there is Glass Panel concept that sits on top of root panel.
Painting on Glass Panel while the underlying Panel gets refreshed is recommended practice.
Go read JFC Swing book.

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".