Closed GoogleCodeExporter closed 9 years ago
see ThreadStyleToolbar.ColorButton.actionPerformed
Original comment by bobbin.w...@gmail.com
on 14 Mar 2010 at 6:50
The screen shot in this section does not match when the code is applied
Original comment by bobbin.w...@gmail.com
on 14 Mar 2010 at 10:54
it appears that the system look and feel limits the chooser to a single tab. The
following code throws an error while filling the array:
final JColorChooser chooser = new JColorChooser();
AbstractColorChooserPanel[] newPanels = new AbstractColorChooserPanel[1];
newPanels[0] = findPanel(chooser,
"javax.swing.colorchooser.DefaultHSBChooserPanel");
newPanels[1] = findPanel(chooser,
"javax.swing.colorchooser.DefaultRGBChooserPanel");
newPanels[2] = findPanel(chooser,
"javax.swing.colorchooser.DefaultSwatchChooserPanel");
chooser.setChooserPanels(newPanels);
JColorChooser.createDialog( ThreadStyleToolBar.this, "pick color", true,
chooser, new ActionListener(){...}, null);
http://www.java2s.com/Code/Java/Swing-JFC/SettingtheOrderoftheColorChooserPanelT
absinaJColorChooserDialog.htm
Original comment by bobbin.w...@gmail.com
on 14 Mar 2010 at 1:49
This issue was closed by revision r670.
Original comment by bobbin.w...@gmail.com
on 14 Mar 2010 at 6:42
Original issue reported on code.google.com by
bobbin.w...@gmail.com
on 14 Mar 2010 at 6:41