FileDocCategorySizeDatePackage
WindowsTextPaneUI.javaAPI DocJava SE 5 API1415Fri Aug 26 14:54:50 BST 2005com.sun.java.swing.plaf.windows

WindowsTextPaneUI

public class WindowsTextPaneUI extends BasicTextPaneUI
Windows rendition of the component.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

Fields Summary
Constructors Summary
Methods Summary
protected javax.swing.text.CaretcreateCaret()
Creates the object to use for a caret. By default an instance of WindowsCaret is created. This method can be redefined to provide something else that implements the InputPosition interface or a subclass of DefaultCaret.

return
the caret object

        return new WindowsTextUI.WindowsCaret();
    
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)
Creates a UI for a JTextPane.

param
c the styled text component
return
the UI

        return new WindowsTextPaneUI();