This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 150700 - Corrupt content with a JFileChooser dialog
Summary: Corrupt content with a JFileChooser dialog
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Directory Chooser (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker with 1 vote (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-20 10:34 UTC by tschlegl
Modified: 2010-10-12 09:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Corrupt UI content (24.64 KB, image/png)
2008-10-20 10:36 UTC, tschlegl
Details
EDT violations (2.46 KB, text/plain)
2008-10-20 10:37 UTC, tschlegl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tschlegl 2008-10-20 10:34:54 UTC
Netbeans platform is foisting the buggy class org.netbeans.swing.dirchooser.DirectoryChooserUI when we're going to get a
Dialog from a JFileChooser with DIRECTORIES_ONLY selectionMode.
The CheckThreadViolationRepaintManager (issue 128582) complains continuously when changing directories in that dialog.
Inspecting the java source, we found some code lines where outside the EDT the data model (TreeModel) is changed and AWT
propertyChanges are fired. This results in corrupted content of the dialog as you can see in the attachment.
Comment 1 tschlegl 2008-10-20 10:36:56 UTC
Created attachment 72250 [details]
Corrupt UI content
Comment 2 tschlegl 2008-10-20 10:37:21 UTC
Created attachment 72251 [details]
EDT violations
Comment 3 Ondrej Vrabec 2010-10-11 12:55:46 UTC
fix: http://hg.netbeans.org/cdev/rev/89bfcad6b750
Comment 4 Quality Engineering 2010-10-12 02:31:13 UTC
Integrated into 'main-golden', will be available in build *201010120000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/89bfcad6b750
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #150700 - Corrupt content with a JFileChooser dialog
Comment 5 Ondrej Vrabec 2010-10-12 09:46:59 UTC
fix: http://hg.netbeans.org/cdev/rev/cea43415d7ea