Labels going berserk

View: New views
2 Messages — Rating Filter:   Alert me  

Labels going berserk

by eChahine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using NetBeans V-6.0 and trying to create a relatively complex dialog with a tabbed panel and several controls on each panel.

Every time I close out the file, NetBeans RELABELS half-a-dozen labels. It's like the pointers are all screwed up and so two totally different labels are pointing at the same text string, so when I change the text string on one label, it changes on the other one. I have tried everything, deleting both labels, creating new one's, cleaning the project to no avail. It's like the kid's game where you tap one pin and another jumps up - no matter what I do, when the file closes out, several more labels change on me.

The only recourse left is to trash the hours of work assembling the dialog (which already has many hundreds of lines of code associated with the controls) and rebuilding it from scratch.

But it's obviously a bug in NetBeans, and I don't want to waste that effort only to find that it all happens again.

Is there some limit to the number of controls/labels one can put in a dialog. Is this a known bug (I tried searching, but found no reference). It's got my stymied as I can't continue any development if the screens are unusable :(

I'm thinking of trying the 6.1 beta in case this has been fixed, but I'm not sure how stable that beta is....

EC

Re: Labels going berserk

by Milan Kubec :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

eChahine napsal(a):

> I am using NetBeans V-6.0 and trying to create a relatively complex dialog
> with a tabbed panel and several controls on each panel.
>
> Every time I close out the file, NetBeans RELABELS half-a-dozen labels. It's
> like the pointers are all screwed up and so two totally different labels are
> pointing at the same text string, so when I change the text string on one
> label, it changes on the other one. I have tried everything, deleting both
> labels, creating new one's, cleaning the project to no avail. It's like the
> kid's game where you tap one pin and another jumps up - no matter what I do,
> when the file closes out, several more labels change on me.
>
> The only recourse left is to trash the hours of work assembling the dialog
> (which already has many hundreds of lines of code associated with the
> controls) and rebuilding it from scratch.
>
> But it's obviously a bug in NetBeans, and I don't want to waste that effort
> only to find that it all happens again.
>
> Is there some limit to the number of controls/labels one can put in a
> dialog. Is this a known bug (I tried searching, but found no reference).
> It's got my stymied as I can't continue any development if the screens are
> unusable :(
>
> I'm thinking of trying the 6.1 beta in case this has been fixed, but I'm not
> sure how stable that beta is....
>
> EC
>  

Description of your problem looks like serious bug, better would be to
file issue against form editor and describe step by step how to
reproduce the problem in Issuezilla:
http://www.netbeans.org/issues/enter_bug.cgi?component=form. Consider
attaching problematic code to the issue.

Thanks

  Milan