Netbeans labels not showing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheServant
    Recognized Expert Top Contributor
    • Feb 2008
    • 1168

    Netbeans labels not showing

    I am getting an error which is really strange using NetBeans 6.9:
    I have been happily coding and creating forms for a while now, but when I added a button tonight, I noticed that the label did not show when I ran the app. Even when I tried to change the text of the dropdown, in the editor it shows the new default item, but when it is run, it does not. Finally, the button in the top left hand corner, if I change the text, it does not update the button label, but leaves it as the previous one: "Add New Object".

    I am hoping this is a simple mistake and you can know what I have done, as posting all the code will be too long.

    Click image for larger version

Name:	editor.jpg
Views:	1
Size:	14.7 KB
ID:	5416211
    Click image for larger version

Name:	running.jpg
Views:	1
Size:	13.9 KB
ID:	5416212


    EDIT :: I have figured out how to get around this, by closing the form from the editor and running Clean and Build and then opening it again. Can anyone explain what the problem is that I have to do that every time I want to change the form appearance?
  • TheServant
    Recognized Expert Top Contributor
    • Feb 2008
    • 1168

    #2
    Alright, the problem is resource mapping. The property files in the .resource package (which Netbeans generates) are only updated when a Clean and Build is run. Have I turned off an auto generate parameter or something? Or is this a bug?

    Comment

    Working...