Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / December 2003

Tip: Looking for answers? Try searching our database.

paintComponents()

Thread view: 
Ike - 20 Dec 2003 05:54 GMT
If I have an Applet, and say another window is over the display of the
Applet, when I remove the other window, such that the Applet should repaint,
and it only repaints partially (unless I do some mouse action over a
component on the Applet, whereupon that component then repaints), shouldn't
Applet.paintComponents() be called when my Applet needs to be repainted by
such a thing (i.e., a window over it, being removed?) What SHOULD be called,
Applet.paint() ? -Ike
hiwa - 20 Dec 2003 10:00 GMT
> If I have an Applet, and say another window is over the display of the
> Applet, when I remove the other window, such that the Applet should repaint,
[quoted text clipped - 3 lines]
> such a thing (i.e., a window over it, being removed?) What SHOULD be called,
> Applet.paint() ? -Ike
Applet doesn't have paintComponent() method. I haven't tried
yet, but calling repaint() in a ComponentListener might solve
the problem. Just my guess.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.