停止 WindowBuilder for Eclipse 将组件放在括号内
Stop WindowBuilder for Eclipse putting components inside brackets
有没有办法停止 WindowBuilder for Eclipse 在将组件(JButton、JComboBox 等)添加到设计时将它们放在括号内?
{
JScrollPane scrollPane = new JScrollPane();
contentPanel.add(scrollPane, BorderLayout.CENTER);
{
table = new JTable();
scrollPane.setViewportView(table);
}
}
在首选项中,Windowbuilder/Swing/Code Generation
,将 Statement generation
设置为 Flat
(这是默认值):
有没有办法停止 WindowBuilder for Eclipse 在将组件(JButton、JComboBox 等)添加到设计时将它们放在括号内?
{
JScrollPane scrollPane = new JScrollPane();
contentPanel.add(scrollPane, BorderLayout.CENTER);
{
table = new JTable();
scrollPane.setViewportView(table);
}
}
在首选项中,Windowbuilder/Swing/Code Generation
,将 Statement generation
设置为 Flat
(这是默认值):