Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ve-dev] Custom code in a setter

Hi,

Will VE 1.2 allow generation of a setter with custom code?

For instance, for the text property of JButton would it be possible to
generate:

  private JButton getJButton() {
		if (jButton == null) {
			jButton = new JButton();
>>>>>>>>    	jButton.setText(getFromResourceBundle("AbortButtonKey"));
		}
		return jButton;
	}

Is there some way of doing this in VE 1.1?

Thanks and regards,

Janak



Back to the top