![]() |
Method replaceSelection(String content)
Return type: void
Member of: javax.swing.text.JTextComponent
[api documentation
] [ main menu] |
Examples of how the element is used (one line per example):
[add your own example]
| 1 | msgArea.replaceSelection(""); |
| 2 | matchField.replaceSelection(getSelectedContentSequenceReference()); |
| 3 | textField.replaceSelection(msg); |