Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-26-2009, 12:24 PM
ekted's Avatar
Member
 
Join Date: Nov 2009
Posts: 1
Rep Power: 0
ekted is on a distinguished road
Default JPanel not always painting everything
When I run any Java application and quickly move another window over the top of it, little horizontal and vertical slivers of white are sometimes left behind. I first noticed this when working on my own Java stuff, but it also happens when running apps directly from the Sun Java site. Is this a common problem? Is there a way to prevent it? I know under native Windows that this happens when you try to draw directly to the top-level window's client area instead of creating a child window. Is this perhaps a result of Java light-weight components doing the same thing with the underlying native windows?

Windows XP SP3, Java 1.6

Attached in an image of this happening with a Sun sample app.
Attached Images:
File Type: jpg cap_sun.jpg (25.3 KB, 19 views)

Last edited by ekted; 11-26-2009 at 12:54 PM.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Jpanel painting problem kcakir AWT / Swing 3 04-15-2009 11:21 PM
painting lines when clicking a panel yuriythebest New To Java 0 12-14-2008 10:56 PM
netbeans+swing = painting program? yuriythebest New To Java 3 12-14-2008 09:55 PM
Applets painting outside borders in web browsers sirdori New To Java 2 11-20-2008 07:14 PM
Hovering mouse over a button and painting gtraylo AWT / Swing 2 04-24-2008 10:33 AM


All times are GMT +2. The time now is 07:19 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org