How to customize the code generated in VE [message #612312] |
Wed, 15 March 2006 11:41 |
shobana Messages: 13 Registered: July 2009 |
Junior Member |
|
|
Hi All,
A default code is generated when a component drag and drop is done from
the component palette.
Something like this
/**
* This method initializes text Field
*
* @return java.awt.TextField
*/
private TextField getTextField() {
if (textField == null) {
textField = new TextField();
textField.setBounds(new java.awt.Rectangle(123,16,45,20));
}
return textField;
}
I want to add few default properties to the code generated when a
component is dragged and dropped on to the container on the free form
Like setting a color to that component. Can any body help me in this
regard?
Thank You and Regards
Shobana
|
|
|
Powered by
FUDForum. Page generated in 0.03154 seconds