swingwtx.swing
Class JColorChooser

java.lang.Object
  extended byswingwtx.swing.JColorChooser

public class JColorChooser
extends java.lang.Object

JColorChooser cannot descend a Swing component in SWT as it is not an embeddable widget. Given time, we could develop one from scratch that behaved the same, but no time at present.


Field Summary
protected  java.lang.String dialogTitle
           
protected  Color initialColor
           
 
Constructor Summary
JColorChooser()
           
JColorChooser(Color initialColor)
           
 
Method Summary
static Color showDialog(Component component, java.lang.String title, Color initialColor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initialColor

protected Color initialColor

dialogTitle

protected java.lang.String dialogTitle
Constructor Detail

JColorChooser

public JColorChooser()

JColorChooser

public JColorChooser(Color initialColor)
Method Detail

showDialog

public static Color showDialog(Component component,
                               java.lang.String title,
                               Color initialColor)
                        throws HeadlessException
Throws:
HeadlessException