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.
Description: Buzz build 15 Steps to reproduce: - create new UMLProject --> add Diagram - open Modeling Palette --> open Diagram - open Popup menu and choose Class Role (Interface) -->Font Color. Window with font color chooser appears. Results of Accessibility test, window with title "" Label with LABEL_FOR not set : Class: javax.swing.JLabel { | } Class: javax.swing.JLabel { B | } Class: javax.swing.JLabel { G | } Class: javax.swing.JLabel { R | } Class: javax.swing.colorchooser.DefaultHSBChooserPanel$3 { | } Components with no LABEL_FOR pointing to it : Class: javax.swing.JFormattedTextField { | } Class: javax.swing.JTabbedPane { | } Class: javax.swing.JTextField { | } Components with no mnemonic : Class: javax.swing.JRadioButton { B | } Class: javax.swing.JRadioButton { H | } Class: javax.swing.JRadioButton { S | } Components not reachable with tab traversal : Class: javax.swing.JColorChooser { | } Class: javax.swing.JLabel { Recent: | } Class: javax.swing.JLayeredPane { | } Class: javax.swing.JPanel { Preview | } Class: javax.swing.JPanel { | } Class: javax.swing.JRootPane { | } Class: javax.swing.colorchooser.DefaultPreviewPanel { | } Class: javax.swing.colorchooser.DefaultSwatchChooserPanel { | }
This dialog is the standard Java dialog. So, I do not know if we are going to be able modifiy this dialog.
I have also noticed that NetBeans uses the same control in the Form Editor. They also have the same problems.
As I understand only color chooser is standard,dialog contains chooser and other element, and I can't find same dialog for gui builder, I see only more advanced one.
ok, may be it was in java, but I can't find it now :)
sorry, seems I was wrong about dialog because I found no direct way to access it, but nb5.0 use another dialog without most a11y issues and we should use another too if we can't update current.
NetBeans is using the same component that we are using. They are just embedding the component into a NetBeans dialog. The java color chooser dialog also allows you to add additional tabs. NetBeans has taken advangae of the fact to add the Swing, system, and AWT palettes. So, basically fix the Java one, fix both the form editor and the UML tool.
At least look and a11y issues are different in uml and in netbeans dialogs, if to fix issues we should embed it into another dialog it's better to do embedding.
I do not know what you are asking for, you are wanting us to embed the Java color chooser component into another dialog. I do not know what that would solve.
ok, - I don't know realization but dialogs are different and netbeans color dialog has better a11y - Because I don't know realization my suggessions may be wrong - You said "They are just embedding the component into a NetBeans dialog.", I thought you say about ColorChooser.
We can not use the NetBeans Form Editor color dialog, because the component is just embedded into the standard bean property editor dialog. It would not make sense for us to use that dialog. The best solution is to get Java to fix the JColorChooser.
You are right - we should request fix from java team. But while this is not done, we should use the same way as NB and create our own dialog with embedded javax.swing.JColorChooser and A11y features like: - existing title (issue 89454) - accessibility description for dialog
I believe that we can take care of those with out fixes from the Java Team.
When the JDK fixes this issue, this will be fixed.