Hi,
the morph operation in SwingDesigner 6.5.0 for Eclipse 3.3 seems to cause a compile error in some cases.
I am using the 'Create Swing component fields in accessor methods' option of SwingDesigner. The morphing of a JButton into a, say, JCheckBox results in the following code. It causes a compile error because the return type of the accessor method is not changed.
private JButton getButton() {
if (button == null) {
button = new JCheckBox();
button.setText("New JButton");
}
return button;
}
Regards,
Thomas