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 255562

Summary: Clicking cancel on the guideline colour picker does the same as clicking OK
Product: guibuilder Reporter: mienamoo
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

Description mienamoo 2015-09-25 11:03:30 UTC
Product Version: NetBeans IDE Dev (Build 201509240002)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
System: Windows 10 64-bit

I came across this issue while performing this test:

1. Click Tools > Options
2. Choose Java
3. Choose GUI Builder
4. Next to Guide Line Color (or Selection Border Color - same issue), click the ... button
5. Choose a colour from any of the tabs.
6. Press the Cancel button.
7. The selected colour is chosen despite having clicked the cancel button. This is quite unexpected, since Cancel normally implies NOT accepting the changes on a dialog box.