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 45422 - NB freezes while project main classes are being computed
Summary: NB freezes while project main classes are being computed
Status: RESOLVED DUPLICATE of bug 47481
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jiri Rechtacek
: 44940 (view as bug list)
Depends on:
Blocks: 41537
  Show dependency tree
Reported: 2004-06-23 10:31 UTC by vtec
Modified: 2004-08-25 11:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description vtec 2004-06-23 10:31:04 UTC
The last step of J2SE Project Wizard involves
choosing projects main class from list of suitable
classes. It seems that this list is being build in
EventDispatchingThread - button stays pressed and
Netbeans does not repaint itself for several
seconds (on my 3GHz laptop with rather slow (e.g.
notebook type) disk).
Comment 1 Petr Hrebejk 2004-06-23 11:06:11 UTC
Please specify which template did you use? AFAIK there is no wizard
which would have main class selection. Or do you mean project properties?
Comment 2 vtec 2004-06-23 11:32:09 UTC
Yes you are right. I do apologize it is in project properties. I run
into this just after accomplishing project wizard.
Comment 3 Jiri Rechtacek 2004-06-23 14:26:43 UTC
Should be changed two parts on MainClassChooser:
- non-AWT blocked picking up the possible main classes
- use a java-metamodel support to fast receive the main classes
Will be solved in promoD.
Comment 4 Jiri Rechtacek 2004-06-29 16:42:18 UTC
It's partly fixed, the computing the possible main classes doesn't
block AWT thread, the Warm-up message is displayed. It shouldn't
freeze the IDE anymore.

Checking in
new revision: 1.19; previous revision: 1.18
Checking in
new revision: 1.15; previous revision: 1.14
Comment 5 Tomas Zezula 2004-07-01 16:47:45 UTC
*** Issue 44940 has been marked as a duplicate of this issue. ***
Comment 6 Jiri Rechtacek 2004-08-25 11:30:40 UTC
Collecting the main classes doesn't block AWT, the rest of speeding-up
is tracked by issue 47481.

*** This issue has been marked as a duplicate of 47481 ***