我有IntelliJ-Idea Ultimate Edition,但我确信它也适用于社区版。我无法在Jpanel中自由移动任何组件(按钮,文本字段)。他们只搬到固定的地方,这让我很烦。有办法解决吗?
The process I followed is:
1. I created a new Java project.
2. I created a new package.
3. I right clicked on the new package and selected "Swing UI Designer" -> "GUI Form"
4. By default a Jpanel was created.
And then tried to edit it as I explained above.
IntelliJ IDEA doesn't support null layout out of the box。
您可以使用JFormDesigner第三方插件。