Christoph: JTextarea Text sichtbar selektieren?

Beitrag lesen

Hallo

In der API findet man bei JTextarea unter
Methods inherited from class javax.swing.text.JTextComponent folgendes:

setSelectionColor
public void setSelectionColor(Color c)
Sets the current color used to render the selection. Setting the color to null is the same as setting Color.white. Setting the color results in a PropertyChange event ("selectionColor").Parameters:c - the color
See Also: getSelectionColor()

so long, wie wir coolen Saarländer sagen [S. Bernarding, 2002]
Christoph