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 37619 - Form Editor extremely slow
Summary: Form Editor extremely slow
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2003-11-29 22:58 UTC by _ gtzabari
Modified: 2003-12-07 22:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample form file (19.43 KB, text/plain)
2003-12-02 18:08 UTC, Tomas Pavek
Details
sample java file (18.09 KB, text/plain)
2003-12-02 18:08 UTC, Tomas Pavek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2003-11-29 22:58:16 UTC
dev build 200311241900

  I'm running under a 2.6GHz machine with tons of
RAM and Netbeans is extremely smooth, except the
form editor. Once 10-20 items have been added to
the Inspector view clicking anywhere is extremely
slow. It takes up 2 seconds on average for the
system to respond to any of my clicks instead the
inspector or properties windows. I even enabled
USE DEFERRED CODE GENERATION in the hopes it would
speed things up and it did not.

  Expected response time: maximum of 100ms even
when inspector contains 100 components.

   Because the performance is so poor I am setting
the priority to P2.
Comment 1 Tomas Pavek 2003-12-02 09:41:54 UTC
What exactly is slow (not responding) after clicking in the Inspector?
Painting the node selected, or displaying the properties of the node,
or painting the selection box in the designer?
Comment 2 _ gtzabari 2003-12-02 12:01:25 UTC
Displaying the properties of the new node after it is selected in the
Inspector is slow.
Comment 3 Tomas Pavek 2003-12-02 18:07:16 UTC
I've created a form having about 100 components (labels, buttons,
textfields in a simple JFrame with FlowLayout). But the response does
not seem to be bad - it's about 300ms for me (I have PIII 733MHz). I'm
attaching the form. Can you confirm it is slow for you in this form?
Thanks
Comment 4 Tomas Pavek 2003-12-02 18:08:26 UTC
Created attachment 12390 [details]
sample form file
Comment 5 Tomas Pavek 2003-12-02 18:08:54 UTC
Created attachment 12391 [details]
sample java file
Comment 6 _ gtzabari 2003-12-03 01:33:37 UTC
Tomas,

   You are right. When using the form editor right after Netbeans is
started up, it is very fast regardless of how many components are
being displayed. What is happening, though, is that after using it for
an hour or so it begins to crawl.

   I will spend another few days trying to find a quicker way to
reproduce the problem.
Comment 7 _ gtzabari 2003-12-07 22:53:15 UTC
Will reopen if I find a better way to reproduce.