![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e977. Sharing a Document Between JTextComponentsWhen you share a document between two text components, any edits made in one text component will show up in the other.JTextComponent textComp1 = new JTextArea(); JTextComponent textComp2 = new JTextArea(); textComp2.setDocument(textComp1.getDocument());
e969. Retrieving All the Text from a JTextComponent Efficiently e970. Modifying Text in a JTextComponent e971. Asynchronously Reading the Contents of a Visible JTextComponent e972. Finding Word Boundaries in a JTextComponent e973. Retrieving the Visible Lines in a JTextComponent e974. Using a Position in a JTextComponent e975. Limiting the Capacity of a JTextComponent e976. Enabling Text-Dragging on a JTextComponent e978. Enumerating All the Views in a JTextComponent
© 2002 Addison-Wesley. |