home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.app;
-
- import java.awt.Insets;
- import javax.swing.JTextArea;
- import javax.swing.text.JTextComponent;
-
- public class UI$StaticTextArea extends JTextArea {
- public UI$StaticTextArea() {
- ((JTextComponent)this).setEditable(false);
- ((JTextArea)this).setWrapStyleWord(true);
- ((JTextArea)this).setLineWrap(true);
- ((JTextComponent)this).setMargin(new Insets(0, 0, 0, 0));
- }
-
- public boolean isManagingFocus() {
- return false;
- }
-
- public boolean isFocusTraversable() {
- return false;
- }
- }
-