简体   繁体   English

Java:按钮和标签布局

[英]Java: Buttons and Labes Layout

What way would you suggest to layout (locate) Jbuttons and Jlabes in java in the fashion depicted in the picture below? 您建议采用哪种方式以下图所示的方式在Java中布局(定位)Jbutton和Jlabes? Is there any tool for visually being able to place the components on a form in Java, rather than specifying the component locations in the code one by one. 是否有任何工具可以直观地将组件放置在Java表单上,而不是一一指定代码中的组件位置。 Thanks 谢谢

I am using eclipse 我正在使用日食

在此处输入图片说明

You can use Swing GUI Builder for visually layout component. 您可以将Swing GUI Builder用于外观布局组件。


For Eclipse you can use WindowBuilder . 对于Eclipse,您可以使用WindowBuilder Look for Installation guide with update site of eclipse. 查找带有Eclipse更新站点的安装指南。 Also take a look at the Tutorial . 还可以看看教程

是的, NetBeans带有用于Swing的可视UI构建器。

使用NetBeans,它具有创建GUI工具!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM