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 235014 - Revert button on properties dialog
Summary: Revert button on properties dialog
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2013-08-26 10:30 UTC by mienamoo
Modified: 2013-09-17 13:35 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description mienamoo 2013-08-26 10:30:39 UTC
When opening up the properties window in a dialog from the GUI builder, the dialog has only a close button. Would it be possible to add a second button that will revert all the properties to the state that the component was in before the dialog was opened?
Comment 1 Tomas Pavek 2013-09-17 13:35:35 UTC
Not in current state when a standard properties window is opened non-modal. It is equal to the global properties window - all properties windows allow to edit the properties. There is no notion of a state where they could return to. That would have to be done by a special modal (blocking) dialog that would include a property sheet, remember the original state when opened and undo to that when Cancel is pressed. That would have to be a special GUI builder window, not a generic Properties window that is used now.

I'm not sure how much would that be really useful. If the user wants to unset some property, they can do undo themselves. I admit there's an issue with that undo does not work from the Properties window itself (bug 172071), so it's necessary to focus the GUI designer first.