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