How to change the dimension of a component in a JFrame

后端 未结 3 1855
一个人的身影
一个人的身影 2020-12-20 01:28

Suppose I have a JPanel in a JFrame. When I invoke a method that changes the preferred size of that JPanel, it does not change.

The code looks something like this:

3条回答
提交回复
热议问题