public void init(){ try{ int c1=Integer.parseInt(getParameter("color1")); int c2=Integer.parseInt(getParameter("color2")); int c3=Integer.parseInt(getParameter("color3")); bgcolor=new Color(c1,c2,c3); SMTP_PORT=Integer.parseInt(getParameter("port")); send=getParameter("send"); get=getParameter("get"); jbInit();} catch(Exception e){ e.printStackTrace();} }//end of init()
class MailApplet_button1_actionAdapter implements java.awt.event.ActionListener{ MailApplet adaptee; MailApplet_button1_actionAdapter(MailApplet adaptee){ this.adaptee=adaptee;}
public void actionPerformed(ActionEvent e){ adaptee.button1_actionPerformed(e);} }//end of this
class MailApplet_button2_actionAdapter implements java.awt.event.ActionListener{ MailApplet adaptee; MailApplet_button2_actionAdapter(MailApplet adaptee){ this.adaptee=adaptee;} public void actionPerformed(ActionEvent e){ adaptee.button2_actionPerformed(e);} }//end of this