JPanel Padding in Java

后端 未结 4 1893
面向向阳花
面向向阳花 2020-11-28 06:40

I have a formatting question for my Java swing application. It should be fairly straightforward, but I am having difficulty finding any aid (Every topic seems to be regardin

4条回答
  •  没有蜡笔的小新
    2020-11-28 07:06

    When you need padding inside the JPanel generally you add padding with the layout manager you are using. There are cases that you can just expand the border of the JPanel.

提交回复
热议问题