< prev index next >

src/java.desktop/share/classes/javax/swing/colorchooser/DefaultSwatchChooserPanel.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  28 import javax.swing.*;
  29 import javax.swing.border.*;
  30 import javax.swing.event.*;
  31 import java.awt.*;
  32 import java.awt.image.*;
  33 import java.awt.event.*;
  34 import java.beans.PropertyChangeEvent;
  35 import java.beans.PropertyChangeListener;
  36 import java.io.Serializable;
  37 import javax.accessibility.*;
  38 
  39 
  40 /**
  41  * The standard color swatch chooser.
  42  * <p>
  43  * <strong>Warning:</strong>
  44  * Serialized objects of this class will not be compatible with
  45  * future Swing releases. The current serialization support is
  46  * appropriate for short term storage or RMI between applications running
  47  * the same version of Swing.  As of 1.4, support for long term storage
  48  * of all JavaBeans&trade;
  49  * has been added to the <code>java.beans</code> package.
  50  * Please see {@link java.beans.XMLEncoder}.
  51  *
  52  * @author Steve Wilson
  53  */
  54 @SuppressWarnings("serial") // Same-version serialization only
  55 class DefaultSwatchChooserPanel extends AbstractColorChooserPanel {
  56 
  57     SwatchPanel swatchPanel;
  58     RecentSwatchPanel recentSwatchPanel;
  59     MouseListener mainSwatchListener;
  60     MouseListener recentSwatchListener;
  61     private KeyListener mainSwatchKeyListener;
  62     private KeyListener recentSwatchKeyListener;
  63 
  64     public DefaultSwatchChooserPanel() {
  65         super();
  66         setInheritsPopupMenu(true);
  67     }
  68 




  28 import javax.swing.*;
  29 import javax.swing.border.*;
  30 import javax.swing.event.*;
  31 import java.awt.*;
  32 import java.awt.image.*;
  33 import java.awt.event.*;
  34 import java.beans.PropertyChangeEvent;
  35 import java.beans.PropertyChangeListener;
  36 import java.io.Serializable;
  37 import javax.accessibility.*;
  38 
  39 
  40 /**
  41  * The standard color swatch chooser.
  42  * <p>
  43  * <strong>Warning:</strong>
  44  * Serialized objects of this class will not be compatible with
  45  * future Swing releases. The current serialization support is
  46  * appropriate for short term storage or RMI between applications running
  47  * the same version of Swing.  As of 1.4, support for long term storage
  48  * of all JavaBeans
  49  * has been added to the <code>java.beans</code> package.
  50  * Please see {@link java.beans.XMLEncoder}.
  51  *
  52  * @author Steve Wilson
  53  */
  54 @SuppressWarnings("serial") // Same-version serialization only
  55 class DefaultSwatchChooserPanel extends AbstractColorChooserPanel {
  56 
  57     SwatchPanel swatchPanel;
  58     RecentSwatchPanel recentSwatchPanel;
  59     MouseListener mainSwatchListener;
  60     MouseListener recentSwatchListener;
  61     private KeyListener mainSwatchKeyListener;
  62     private KeyListener recentSwatchKeyListener;
  63 
  64     public DefaultSwatchChooserPanel() {
  65         super();
  66         setInheritsPopupMenu(true);
  67     }
  68 


< prev index next >