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 222402 - Beans not updated with Compile on Save
Summary: Beans not updated with Compile on Save
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 15:11 UTC by abreneliere
Modified: 2013-01-09 16:50 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 abreneliere 2012-11-19 15:11:36 UTC
Hello,

In the help, article "Adding a Bean to the Palette Window", it is specified :

"If you alter a JavaBeans component that is used in a form, those changes are not automatically reflected in the GUI Builder. To apply any changes you have made to a component and cause them to appear in the form, recompile the component. Then reload the form by pressing Ctrl-Shift-R in the GUI Builder or the Source Editor."

It does not work at me.

In package data.business.obj, there is a bean Toto.java.

In package gui, there is a frame Frame1.java, that uses Toto as a component (toto1).

After updating Toto.java, such as adding a property, Toto.java is compiled. I reload Frame (Ctr + Shift +R). 

In the properties of the toto1 component, changes are not reflected !
Comment 1 abreneliere 2012-11-19 15:30:48 UTC
I have to restart netbeans to have my changes reflected in the frame1's component.
Comment 2 Jan Stola 2012-11-21 13:16:49 UTC
> After updating Toto.java, such as adding a property, Toto.java is compiled.
> I reload Frame (Ctr + Shift +R). 

I assume that you are using Compile on Save in the project. You should rebuild the project manually using 'Clean and Build' and then reload the frame.
Comment 3 abreneliere 2013-01-09 16:50:58 UTC
Compiling does nothing, the ony way for me to update the component poperties in the IDE, is to use the refactor - rename on the class of the component.

Then I rename it back to its original name.