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 - Strange Behavior between Designer, Source & History
Summary: Strange Behavior between Designer, Source & History
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2012-05-08 09:43 UTC by Marian Mirilovic
Modified: 2012-05-17 17:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.