< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/BasicEditorPaneUI.java

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


  27 import java.awt.*;
  28 import java.awt.event.*;
  29 import java.beans.*;
  30 import java.net.URL;
  31 import java.net.MalformedURLException;
  32 import javax.swing.*;
  33 import javax.swing.text.*;
  34 import javax.swing.text.html.*;
  35 import javax.swing.plaf.*;
  36 import javax.swing.border.*;
  37 
  38 
  39 /**
  40  * Provides the look and feel for a JEditorPane.
  41  * <p>
  42  * <strong>Warning:</strong>
  43  * Serialized objects of this class will not be compatible with
  44  * future Swing releases. The current serialization support is
  45  * appropriate for short term storage or RMI between applications running
  46  * the same version of Swing.  As of 1.4, support for long term storage
  47  * of all JavaBeans&trade;
  48  * has been added to the <code>java.beans</code> package.
  49  * Please see {@link java.beans.XMLEncoder}.
  50  *
  51  * @author  Timothy Prinzing
  52  */
  53 @SuppressWarnings("serial") // Same-version serialization only
  54 public class BasicEditorPaneUI extends BasicTextUI {
  55 
  56     /**
  57      * Creates a UI for the JTextPane.
  58      *
  59      * @param c the JTextPane component
  60      * @return the UI
  61      */
  62     public static ComponentUI createUI(JComponent c) {
  63         return new BasicEditorPaneUI();
  64     }
  65 
  66     /**
  67      * Creates a new BasicEditorPaneUI.




  27 import java.awt.*;
  28 import java.awt.event.*;
  29 import java.beans.*;
  30 import java.net.URL;
  31 import java.net.MalformedURLException;
  32 import javax.swing.*;
  33 import javax.swing.text.*;
  34 import javax.swing.text.html.*;
  35 import javax.swing.plaf.*;
  36 import javax.swing.border.*;
  37 
  38 
  39 /**
  40  * Provides the look and feel for a JEditorPane.
  41  * <p>
  42  * <strong>Warning:</strong>
  43  * Serialized objects of this class will not be compatible with
  44  * future Swing releases. The current serialization support is
  45  * appropriate for short term storage or RMI between applications running
  46  * the same version of Swing.  As of 1.4, support for long term storage
  47  * of all JavaBeans
  48  * has been added to the <code>java.beans</code> package.
  49  * Please see {@link java.beans.XMLEncoder}.
  50  *
  51  * @author  Timothy Prinzing
  52  */
  53 @SuppressWarnings("serial") // Same-version serialization only
  54 public class BasicEditorPaneUI extends BasicTextUI {
  55 
  56     /**
  57      * Creates a UI for the JTextPane.
  58      *
  59      * @param c the JTextPane component
  60      * @return the UI
  61      */
  62     public static ComponentUI createUI(JComponent c) {
  63         return new BasicEditorPaneUI();
  64     }
  65 
  66     /**
  67      * Creates a new BasicEditorPaneUI.


< prev index next >