简体   繁体   English

NetBeans 中的 Java 按钮拖放或硬编码?

[英]Java Button drag and drop or hard coding in NetBeans?

I am a beginner to Java UI designing and development.我是 Java UI 设计和开发的初学者。 What is the best way to work with JButton ?使用JButton的最佳方式是什么? manually (by coding) or in design view (drag and drop)手动(通过编码)或在设计视图中(拖放)

If I add java buttons manually, Is it possible to position using the design view?如果我手动添加 java 按钮,是否可以使用设计视图进行定位?

For a beginner like me and you, it is always good to code manually.对于像我和你这样的初学者来说,手动编码总是好的。 You will have knowledge of proper positioning the components and different layouts.您将了解正确定位组件和不同的布局。 After you get it, move to drag and drop for rapid development.得到后,移动到拖放以快速开发。

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

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