Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Customized Templates
Customized Templates [message #607117] Tue, 12 April 2005 08:36
Eclipse UserFriend
Hello,

I have a template with a JPanel and a JButton


public class <%=typeName%> {
String resourceBundle;
private javax.swing.JButton jButton = null;

/**
* This is the default constructor
*/
public <%=typeName%>() {
super();
<%
if("java.applet.Applet".equals(superClassName)){
%>init()<%
}else{
%>initialize()<%
}%>;
}
/**
* This method initializes jButton
*
* @return javax.swing.JButton
*/
private JButton getJButton() {
if (jButton == null) {
jButton = new JButton();
}
return jButton;
}


}
Previous Topic:Custom container beans with editable children?
Next Topic:Customized Templates
Goto Forum:
  


Current Time: Thu Jun 12 09:52:13 EDT 2025

Powered by FUDForum. Page generated in 0.04629 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top