Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Customized Templates
Customized Templates [message #607117] Tue, 12 April 2005 12:36
Elena Demeter is currently offline Elena DemeterFriend
Messages: 152
Registered: July 2009
Senior Member
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 Apr 18 08:03:36 GMT 2024

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

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

Back to the top