Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在使用 Netbeans GUI 构建器创建 Swing GUI 后摆脱设计器,而不必将源代码复制到新类中?
.java在另一个编辑器中打开您的班级文件并删除评论,例如
.java
//GEN-BEGIN:variables
//GEN-END:variables
NetBeans 编辑器不显示这些。然后,您可以删除.form与您的班级同名的文件。
.form