< prev index next >

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

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


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




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


< prev index next >