![]() |
Method setSelectionColor(Color c)
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 | text.setSelectionColor(Color.red); |
| 2 | sourceText.setSelectionColor(Color.red); |
| 3 | editor.setSelectionColor( new Color( 153, 153, 153)); |