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 2910 - "Cancel" button does not cancel changes when changing properties.
Summary: "Cancel" button does not cancel changes when changing properties.
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-07-29 01:51 UTC by Marian Petras
Modified: 2008-12-23 10:34 UTC (History)
0 users

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 Marian Petras 1999-07-29 01:51:40 UTC
1. Create some class in the root directory of a mounted filesystem.
   (The generated source code does not containt any "package" statement.)
2. Switch the properties panel on in the Explorer.
3. Select the class you created.
4. Select tab "Source" in the properties panel.
5. Click on "Package" property, and press button "...".
6. Press the "Cancel" button.
   (You could have done any changes - they are really discarded after pressing
this button).
7. (Here is the problem:)
   The Property Editor thinks that you DID MADE CHANGES while you DID NOT - so
that the source code is changed (in this case, new statement "package
<default package>;" is added to the source code).
Comment 1 Marek Grummich 2000-07-25 09:26:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 14:53:08 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:12:23 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.