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 225461 - Browse main class takes long time if project contains a lot of main files
Summary: Browse main class takes long time if project contains a lot of main files
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2013-01-29 11:49 UTC by Alexandr Scherbatiy
Modified: 2013-01-29 12:12 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2013-01-29 11:49:04 UTC
Product Version: NetBeans IDE 7.1.2 (Build 201204101705)
Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02
System: Windows 7 version 6.1 running on x86; Cp1252; en (nb)

My project contains a lot of tests. All of them contain main method.
Project Properties-> Run -> Browse Main Class action takes long time to show the list of the main classes.

It would be also good to allow search using first letters in the browse main class list because it is difficult to find the necessary main class in the such long list.
Comment 1 Tomas Zezula 2013-01-29 12:12:11 UTC
Makes sense to add the search and make the filling of the list async. So when you open the dialog it will try to find all main classes as soon as you type 'Foo' it will stop the search and look only for main classes starting with Foo.