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 72800 - GUI designer does not work properly
Summary: GUI designer does not work properly
Status: RESOLVED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-18 14:32 UTC by gcarter
Modified: 2006-10-23 15:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
For using traditional layouts (100.85 KB, application/octet-stream)
2006-03-02 09:17 UTC, gcarter
Details
Java file using traditional layouts (66.43 KB, text/plain)
2006-03-02 09:18 UTC, gcarter
Details
Faulty form file (9.48 KB, text/plain)
2006-03-02 09:19 UTC, gcarter
Details
Faulty Java file (14.59 KB, text/plain)
2006-03-02 09:20 UTC, gcarter
Details
ScoreCard.java (44.63 KB, text/plain)
2006-03-09 10:48 UTC, Marek Grummich
Details
ScoreCard.form (60.62 KB, text/plain)
2006-03-09 10:49 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gcarter 2006-02-18 14:32:58 UTC
I'm trying to design a Jframe to collect the scores for a round of golf.  I 
have put about six panels on the frame, and I want them essentially to be in 
two columns.  However, the GUI builder just "does it's own thing".  I move and 
resize a panel, and suddenly the GUI builder moves all the panels around and 
totally destroys my formatting.

While the GUI may be fine for a small data entry pane, for anything other than 
really simple it is totally useless.

Can't the developers of the GUI designer have a look at Visual Basic, and do 
something half as good as that?
Comment 1 Jan Stola 2006-02-20 13:38:30 UTC
If you want to share your ideas/complain about the GUI builder then
you should use the nbusers mailing list - you will have a larger audience ;-).
See http://www.netbeans.org/community/lists/top.html for details.

If you want to report a problem then, please, provide more information
to track the problem down. It would be ideal to attach the corresponding
.java and .form files and describe exact steps that lead to the problem.
Thank you in advance.

Comment 2 gcarter 2006-03-02 09:06:23 UTC
I tried to upload the form, but wasn't originally able to.

The problem I find with the designer is that when you have a lot of components, 
it seems unable to keep track of all the positioning.

I need a data entry panel to capture golf scores.  There are three jpanels at 
the top and bottom of the main frame for information of various sorts.  Between 
these, I need to be able to enter the 18 scores, so I have 2 jpanels, each with 
9 jtextfields for the score, and 18 jlabels for the hole number and the par 
rating.  I can jut about get these panels set up, though the GUI does insist on 
re-arranging them.  However, when I tray and layout all of the 8 panels, well 
the GUI just does it's own thing.

I have redone the thing manually using standard Border, Flow, and GridBag 
layouts.  I will attach these to the issue.

Files attached will be EnterScoresOLD.java and EnterScoresOLD.form - these are 
designed using FreeDesign and are the faulty components

EnterScores.java and EnterScores.form - these are designed using standard 
layouts and will show what I am trying to achieve.

Comment 3 gcarter 2006-03-02 09:17:52 UTC
Created attachment 29087 [details]
For using traditional layouts
Comment 4 gcarter 2006-03-02 09:18:47 UTC
Created attachment 29088 [details]
Java file using traditional layouts
Comment 5 gcarter 2006-03-02 09:19:35 UTC
Created attachment 29089 [details]
Faulty form file
Comment 6 gcarter 2006-03-02 09:20:10 UTC
Created attachment 29090 [details]
Faulty Java file
Comment 7 Marek Grummich 2006-03-09 10:46:00 UTC
I was curious if it is really not possible to design a mentioned form in
FreeDesign layout. If you are interested in, look at the attached form.
Comment 8 Marek Grummich 2006-03-09 10:48:34 UTC
Created attachment 29182 [details]
ScoreCard.java
Comment 9 Marek Grummich 2006-03-09 10:49:25 UTC
Created attachment 29183 [details]
ScoreCard.form
Comment 10 Jan Stola 2006-03-23 17:09:21 UTC
There is no specific problem reported in this issue. The reporter
mentioned that he is not able to create some form in Free Design.
Marek Grummich showed that it is possible to create such a form (thanks).

I am sorry for the problem the reporter has with Free Design, but I am
not able to help him unless his reports are more specific.