IntelliJ Idea GUI表单:空布局 [英] IntelliJ Idea GUI Forms: Null Layout

查看:347
本文介绍了IntelliJ Idea GUI表单:空布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我正在从Netbeans迁移到IntelliJ.现在,我正在尝试创建一个GUI表单,并且与Netbeans不同,IntelliJ不允许您使用空布局".有没有办法在不使用某些奇怪布局的情况下将JComponents放在JFrame中?

Hey all, I'm migrating from Netbeans to IntelliJ. Now I'm trying to create a GUI form, and, unlike Netbeans, IntelliJ doesn't let you use a "Null Layout". Is there any way to put JComponents inside of a JFrame without using some wierd layout?

对不起,如果我使用的术语不正确-希望您理解我的问题:)

Sorry if I'm using incorrect terminology--hope you understand my question :)

推荐答案

如果要在IDEA中使用null布局(无论如何建议不要这样做),则可以使用

If you want null layout in IDEA (which is not recommended anyway), you can use the JFormDesigner.

这篇关于IntelliJ Idea GUI表单:空布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆