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 215737 - When i make changes to my JPanel, the User Interface does not update when i run. Compiling the program is only available once, and i have to refactor and rename it to get the changes to show when i run it.
Summary: When i make changes to my JPanel, the User Interface does not update when i r...
Status: RESOLVED INCOMPLETE
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 7.1.2
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2012-07-20 00:05 UTC by DorianeBaez
Modified: 2012-08-03 14:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DorianeBaez 2012-07-20 00:05:32 UTC
Product Version = NetBeans IDE 7.1.2 (Build 201204101705)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0_04
Runtime = Java HotSpot(TM) Client VM 23.0-b21
Comment 1 Petr Cyhelsky 2012-07-20 06:58:27 UTC
Please provide more information - Exact steps to reproduce and attached messages.log file would be the best.
Comment 2 Tomas Pavek 2012-07-20 08:13:54 UTC

*** This bug has been marked as a duplicate of bug 214289 ***
Comment 3 DorianeBaez 2012-07-20 19:32:38 UTC
I didn't get a resolution from the other bug post.  
I create a Jframe, start to add afew swing controls, i'll compile the one time the system allows it per program (not sure if this is the case for anyone else) and i'll get maybe the first 2 of the swing controls on the GUI Run...

I'll go back, add some more, move some around... and i'll just keep getting the same exact GUI as the first time.  F9 and Shift+F6 are grayed out in the menu, all i can do is run the GUI and end up with the same Form over and over again, without any of my changes.

I refactored a few times and saved it as a new document, that refereshed SOMETIMES, but at some point, it stopped working that way too. 

I tried switching off the setting to compile on save so i could do it manually, got my F9 back, but when i'd compile, it was still the same issue.  No Refresh... Then i changed the setting to the project as well (compiler setting under run), to turn off the compile on save so they were off for both the Program & the project... Same issue... Old version of the document not displaying the changes...

not sure what to do. i'm completely new at this so it's probably something silly, but i need to figure out what it is.. =\
Comment 4 Milos Kleint 2012-07-26 08:29:40 UTC
(In reply to comment #3)

> i'll compile the one time
> the system allows it per program (not sure if this is the case for anyone else)
> and i'll get maybe the first 2 of the swing controls on the GUI Run...

What exactly does this mean? what is a gui run? The action in the form designer toolbar? 
screenshot?
> 
> I'll go back, add some more, move some around... and i'll just keep getting the
> same exact GUI as the first time.  F9 and Shift+F6 are grayed out in the menu,

which menu? can you show us a screenshot? have you exited the previous invokation of the frame? maybe the new one is right behind it..

> all i can do is run the GUI and end up with the same Form over and over again,
> without any of my changes.
> 
> I refactored a few times and saved it as a new document, that refereshed
> SOMETIMES, but at some point, it stopped working that way too. 
> 
> I tried switching off the setting to compile on save so i could do it manually,
> got my F9 back, but when i'd compile, it was still the same issue.  No
> Refresh... Then i changed the setting to the project as well (compiler setting
> under run), to turn off the compile on save so they were off for both the
> Program & the project... Same issue... Old version of the document not
> displaying the changes...

what project type? ant/maven?

what is the difference here between "Program" and "project"?
Comment 5 Milos Kleint 2012-07-26 08:31:54 UTC
could be a duplicate of issue #214153
Comment 6 Milos Kleint 2012-08-03 14:47:25 UTC
closing as incomplete, please reopen with additional information, thank you