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.
NetBeans IDE Dev (Build 061123) 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 Description: ============ Invoke Action editor for action property (e.g. for jButton) and pres button "New Action" ... buttons Create and Cancel have unusual order. Button Create should by on the left side and Cancel on the right side as it is on the other editors and dialogs see screenshot
Created attachment 37598 [details] screenshot
This report is correct. I'll change it.
After looking at other parts of NetBeans I am not as sure anymore. In the new project dialog the cancel button is on the far right. But in a standard property editor the okay button is in the far right. This may also be platform dependent. In Mac apps, for example, the standard is to have cancel on the left and okay (or whatever other action) on the right. It is also usually (but not always) the default button in the far right.
Further research indicates that the Windows UI guidelines want the cancel button to always be in the far right. Perhaps we need a standard command button component which can handle these cases.
You should use DialogDisplayer, it tries to honor the platform specific command buttons layout.
I have changed the create new action code to use the DialogDisplayer. This issue should be fixed now.
I tested it on todays build 070131 but nothing changed. Order of buttons "Create" and "Cancel" is still wrong on win platform.
This dialog has been removed so this bug is no longer valid.
Swapped "Create" and "Cancel" buttons are back in town ... eee ... back in Application Actions window. :)
I increased the priority due to a M9. I know it's banal issue but should be fixed till M9 will be released. It's drop unnecessarily quality of Matisse.Next...
Can you show me exactly which dialog this is in? All of the buttons in the Application Actions top component use dialogs with 'cancel' and 'okay' (in that order) on the Mac. Is this wrong for Windows? I'm using the JOptionPane which should use the correct platform specific order.
NetBeans IDE Dev (Build 070521) 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 now I hasn't found any dialog with inverted buttons
I'm closing this as fixed now. The original dialog no longer exists.
verified on Product Version: NetBeans IDE Dev (Build 200706220441) Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)