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.
Product Version: NetBeans IDE Dev (Build 200802140010) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: D:\ide\61\user =============================================== Tested Window title : Browse for the Import File =============================================== Results of Accessibility test Doesn't implement Accessible : - none. No Accessible name : Class: sun.swing.FilePane$3 { | } [15,67] No Accessible description : Class: com.sun.java.swing.plaf.windows.WindowsFileChooserUI$2 { Look in: | } [60,35] Class: com.sun.java.swing.plaf.windows.WindowsFileChooserUI$4 { File name: | } [92,217] Class: com.sun.java.swing.plaf.windows.WindowsFileChooserUI$6 { OK | } [408,215] Class: javax.swing.JComboBox { Files of type: | } [92,245] Class: sun.swing.FilePane$3 { | } [15,67] Label with LABEL_FOR not set : - none. Components with no LABEL_FOR pointing to it : Class: sun.swing.FilePane$3 { | } [15,67] Components with no mnemonic : Class: com.sun.java.swing.plaf.windows.WindowsFileChooserUI$6 { OK | } [408,215] Class: javax.swing.JButton { New Folder | Create New Folder } [362,36] Class: javax.swing.JButton { Up | Up One Level } [342,36] Class: javax.swing.JToggleButton { Details | Details } [402,36] Class: javax.swing.JToggleButton { List | List } [382,36]
Product Version: NetBeans IDE Dev (Build 200802140010)
See #127837. We are using a JFileChooser in the same way as CVS and Subversion modules.
Created attachment 57447 [details] proposed patch
The proposed patch makes Import Diff on Solaris use similar pattern as is used for subversion. This patch is pushed in 1462cea44db1.
The remaining issue here is that the buttons in JFileChooser do not contain a mnemonic. The seems to be a Java bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6297220
It is not a problem that the buttons in the FileChooser dialog do not have a mnemonic. I will change the OK button to Import button for Import dialog and then close this bug.
Created attachment 62114 [details] proposed patch
comparing with https://padraigob:WCOZzCfY@hg.netbeans.org/main searching for changes changeset: 81852:e1da0d7626f5 user: padraigob@netbeans.org date: Thu May 29 11:49:48 2008 +0100 files: mercurial/src/org/netbeans/modules/mercurial/ui/diff/Bundle.properties mercurial/src/org/netbeans/modules/mercurial/ui/diff/ImportDiffAction.java description: 127839: Change OK button to Import for Import dialog. changeset: 81859:5aacb58952be tag: tip parent: 81852:e1da0d7626f5 parent: 81858:44e273c643bb user: padraigob@netbeans.org date: Thu May 29 11:54:24 2008 +0100 description: Automated merge with http://hg.netbeans.org/main
Verified.