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 24593

Summary: Redesign GUI startup creation (MDI particullary).
Product: platform Reporter: Peter Zavadsky <pzavadsky>
Component: Window SystemAssignee: Peter Zavadsky <pzavadsky>
Status: VERIFIED WONTFIX    
Severity: blocker CC: dsimonek
Priority: P2 Keywords: ARCH
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 24291    

Description Peter Zavadsky 2002-06-10 14:28:18 UTC
Redesign the GUI startup creation to follow typical GUI creation concept,
i.e. for MDI:

1) The main frame and is created.
2) All the containers and components are created and their bounds correctly set if 
needed (before the pack call), then added to the main window hierarchy.
3) It is called pack, and show (setVisible(true)) on the main frame.

Currently the bounds are determined by early pack call on the main window to be 
found out later from going-to-be-added components. The containers and components 
are adding afterwards inbetween the pack and show calls, as a response in various 
event handlers, which leads to the unwanted flash effect on Win platform.

The main problem will be to found out the way of determining the bounds for adding 
components (or mode containers respectivelly).
Comment 1 Peter Zavadsky 2002-07-23 16:45:46 UTC
Can't guess, how much of work is required, setting the milestone to
future, but I'll try to succed to do it to 4.0.
Marek could provide a better guess.
Comment 2 Marian Mirilovic 2003-11-26 12:59:39 UTC
Because Window System v1 will not be supported from now by our team, all old
winsys issues (now "core/window system v1" issues) are going to be closed as
WONTFIX. 

Changes in API which emerged both from UI spec 
and problems with adjusting to the older API are described in the document
http://core.netbeans.org/windowsystem/changes.html.
 It shows also recommends how the client code should be adjusted to the new
window system.

If you think this issue apply also to the new winsys then change the
subcomponent (to "core/window system") and REOPEN it.
Comment 3 Marian Mirilovic 2004-02-27 14:11:35 UTC
issue doesn't apply to new window system - verified