Hello Members,

Is there a way to remove the border lines of a JTextArea but retaining the JScroller?
I tried the setBorder(null) method for the JTextArea without any success.

Thanks a lot!!
sciprog1

What "border lines". And, if you have a "scrollbar", then you should probably be attempting to change the border on the JScrollPane. And try setting the border to an "EmptyBorder" and not null.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.