Exemplo n.º 1
0
 public void actionPerformed(ActionEvent ae) {
   String action = ae.getActionCommand();
   if (action.equals("refresh")) {
     routerThread = new Thread(this);
     routerThread.start();
   }
 }
Exemplo n.º 2
0
  public void init(javax.swing.JApplet applet) {
    this.applet = applet;
    if (false) {
      // <Begin_init_javax.swing.JApplet>
      this.applet = applet;
      setVisible(true);

      // <End_init_javax.swing.JApplet>
    }

    routerThread = new Thread(this);
    routerThread.start();
  }