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.


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?
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.
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?
Comment