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 212177

Summary: Strange Behavior between Designer, Source & History
Product: guibuilder Reporter: Marian Mirilovic <mmirilovic>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Marian Mirilovic 2012-05-08 09:43:22 UTC
Product Version = NetBeans IDE Dev (Build 201205070400)
Operating System = Linux version 3.0.0-15-generic running on amd64
Java; VM; Vendor = 1.7.0_04
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.0-b21

Steps to reproduce:
- run IDE with new userdir
- create JavaSE project
- create JFrame
- add JButton (in Design mode)
(do not save!)
- switch to History
-> change is not shown, diff shows (almost!!!) no change ... at least not relevant ones (expect history shows JButton changes)
(still do not save!)
- switch to Source
-> code generated for JButton is there
(still do not save!)
- switch to History
-> History shows diff that contains JButton changes
Comment 1 Tomas Pavek 2012-05-17 17:25:04 UTC
It's just a consequence of that the GUI builder does not generate code until saved or until switching to source editor.