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 27462 - Some ExplorerViews do not conform to Swing Thread Model
Summary: Some ExplorerViews do not conform to Swing Thread Model
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2002-09-20 09:32 UTC by Jaroslav Tulach
Modified: 2008-12-22 20:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
a proposed patch (4.38 KB, patch)
2002-09-20 14:27 UTC, Jiri Rechtacek
Details | Diff
a implemented change (5.52 KB, patch)
2002-09-27 18:17 UTC, Jiri Rechtacek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2002-09-20 09:32:16 UTC
The ExplorerManager is not visual component and as
such it can be changed from any thread, that is
fine, but I have noticed that views displaying the
content of the manager (for example ListView) in
its listener attached to the ExplorerManager
immediatelly calls to Swing components methods.
That should be fixed by transfering the update
methods to AWT thread.

I have observed it while using Tim's
workspaceswitcher/outlinesrc viewer that listens
on position of cursor in editor and changes the
selected node for its listview component. Because
the change is done in RequestProcessor and
together while repainting content of editor, it
causes swing hard times and it often paints
complete nonsences.
Comment 1 Jiri Rechtacek 2002-09-20 14:27:48 UTC
Created attachment 7469 [details]
a proposed patch
Comment 2 Jiri Rechtacek 2002-09-27 18:15:44 UTC
fixed, all property change events should fired in AWT-event-queue.
Comment 3 Jiri Rechtacek 2002-09-27 18:17:30 UTC
Created attachment 7546 [details]
a implemented change
Comment 4 Marian Mirilovic 2004-03-15 14:59:18 UTC
fixed long time ago.....
...verified....
reopen if disagree