2

I am using line separators in the SeaGlass L&F and had recently noticed that in my JTextArea, there are line separators between the lines.

Screenshot

How to remove line separators from JTextArea in SeaGlass L&F?

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
Yoland Gao
  • 437
  • 1
  • 10
  • 20

1 Answers1

3

Looks like it is controlled by a system property SeaGlass.JTextArea.drawLineSeparator. Try setting it to false:

System.setProperty("SeaGlass.JTextArea.drawLineSeparator", "false");

I found it in TextComponentPainter source.

tenorsax
  • 21,123
  • 9
  • 60
  • 107