38 |
|
|
39 |
package javax.swing.plaf.basic; |
package javax.swing.plaf.basic; |
40 |
|
|
|
import java.beans.PropertyChangeEvent; |
|
|
|
|
41 |
import javax.swing.JComponent; |
import javax.swing.JComponent; |
42 |
import javax.swing.plaf.ComponentUI; |
import javax.swing.plaf.ComponentUI; |
43 |
import javax.swing.text.Element; |
import javax.swing.text.Element; |
44 |
import javax.swing.text.PlainView; |
import javax.swing.text.PlainView; |
45 |
import javax.swing.text.View; |
import javax.swing.text.View; |
46 |
|
|
47 |
public class BasicTextPaneUI extends BasicTextUI |
public class BasicTextPaneUI extends BasicEditorPaneUI |
48 |
{ |
{ |
49 |
public static ComponentUI createUI(JComponent comp) |
public BasicTextPaneUI() |
50 |
{ |
{ |
51 |
return new BasicTextPaneUI(); |
// Do nothing here. |
52 |
} |
} |
53 |
|
|
54 |
public BasicTextPaneUI() |
public static ComponentUI createUI(JComponent comp) |
55 |
{ |
{ |
56 |
|
return new BasicTextPaneUI(); |
57 |
} |
} |
58 |
|
|
59 |
public View create(Element elem) |
public View create(Element elem) |