我正在 Eclipse 上使用 Google 的 WindowBuilderPro 开发桌面应用程序。
但是,它会生成很多这样的代码:
protected JLabel lblNewLabel_2;
protected JLabel lblNewLabel_3;
protected JLabel lblNewLabel;
protected JLabel lblNewLabel_4;
protected JLabel lblNewLabel_5;
无论如何要组织它,以便它像这样合并?
protected JLabel lblNewLabel_2, lblNewLabel_3, lblNewLabel, lblNewLabel_4, lblNewLabel_5;
仅字段声明就占用了大约 100 行...