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 197732 - New Grid Bag Layout in 7.0 rc2 is unusable
Summary: New Grid Bag Layout in 7.0 rc2 is unusable
Status: RESOLVED DUPLICATE of bug 197740
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: issues@guibuilder
Keywords: RELNOTE
Depends on:
Reported: 2011-04-14 09:17 UTC by honza.hubeny
Modified: 2011-06-08 19:39 UTC (History)
2 users (show)

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 honza.hubeny 2011-04-14 09:17:19 UTC
There are several functions in the old 6.9 grid bag layout designer which we extremelly lack in the 7.0 Grid Bag layout designer.

Here is the short list (All mentioned worked in 6.9):
1) When a component in grid bag layout has zero size (e.g. jLabel with empty text, empty jPanel...), you cannot select this component in the 7.0 grid bag layout designer. (This empty components are used as a spacer with nonzero weight  in many applications)

2) When multiple components are selected in the 7.0 designer. You cannot change the anchor of the  components.

3) The inset changing buttons (+,-) disapear completely. The only way to change the inset on several selected components is the insets property dialog. However, it change all the insets on all components, not only the edited inset.

Preveous three "features" makes the dialog unusable!

4) The +- buttons for changing grid cell size disapears. 
5) The animations used when you move the compoment from one cell to another are slow and they only waste the developers valuable time.

Previous  two "features"  are not so severe, but the older dialog was better.
Comment 1 Marian Mirilovic 2011-04-14 11:38:26 UTC
You are right, thanks for feedback !

I tested it a little bit and all mentioned is true. I would like to ask you to split this issue into particular issues (one problem=one issue). I have to also say that it's too late for any change in NB 7.0, but we might be able to fix at least some issues for NB 7.0.1 .
Leaving open - until you fire particular issues, then I'll close this issue.
Comment 2 Jan Stola 2011-04-14 12:19:54 UTC
Thanks for the feedback. Unfortunately, the development of the new gridbag designer was abandoned before some features were finished/implemented, but you don't have to waste your valuable time with the new designer. If you start NetBeans with "netbeans.modules.form.oldgriddesigner" system property set to "true" then the former gridbag designer will be used. You can, for example, start NetBeans with -J-Dnetbeans.modules.form.oldgriddesigner=true command line option.
Comment 3 honza.hubeny 2011-04-14 12:47:40 UTC
Thank you all for your reactions.

to: Marian Mirilovic
I have found 5 new bug request as you asked me. You can close this bug.

to: Jan Stola
thank you for the advice running netbeans with the old dialog. Maybe it should be the default option in the 7.0 release.
Comment 4 Marian Mirilovic 2011-04-14 13:51:00 UTC
(In reply to comment #3)
> to: Marian Mirilovic
> I have found 5 new bug request as you asked me. You can close this bug.

Ok, so closing this one. Thanks for your help.

*** This bug has been marked as a duplicate of bug 197740 ***