E
E
Egor Lepikhin2020-07-22 18:45:37
Java
Egor Lepikhin, 2020-07-22 18:45:37

How to remove the border of a component in Java Swing?

I am writing a plugin for Idea, and I ran into an unpleasant problem: a light gray frame is drawn around all components by default (see screenshot). How can it be removed?
I must say right away that this is most likely not a border, since the text editor has setBorder() set to black, but the white frame remains - you can see it on the screenshot.
5f185f12325a5921597499.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question