怎么在这些按纽之间家箭头啊?先按经理,再按部门时在经理和部门之间出现箭头,或者谁可以给我个更好的程序,相当感谢
import java.applet.Applet;
import java.awt.*;public class test extends Applet{public void init()
{
setLayout(null);
pushButton1=new Button("部门1");
pushButton2=new Button("部门2");
pushButton3=new Button("经理");
pushButton4=new Button("部门3");
pushButton5=new Button("部门4");
add(pushButton1);
add(pushButton2);
add(pushButton3);
add(pushButton4);
add(pushButton5);

  pushButton1.reshape(25,25,50,50);
  pushButton2.reshape(25,375,50,50);
  pushButton3.reshape(200,200,50,50);
  pushButton4.reshape(400,375,50,50);
  pushButton5.reshape(400,25,50,50);
}
private Button pushButton1,pushButton2,pushButton3,pushButton4,pushButton5; public boolean action( Event e, Object o)
{

if ( e.target instanceof Button){ if(e.target==pushButton3)
    showStatus("You pressed:"+o.toString());
else if(e.target==pushButton1)
    showStatus("You pressed:"+o.toString());
else if(e.target==pushButton2)

    showStatus("You pressed:"+o.toString());
else if(e.target==pushButton4)

    showStatus("You pressed:"+o.toString());
else if(e.target==pushButton5)

    showStatus("You pressed:"+o.toString()); 
   } 
  return true; }
}
//  <APPLET CODE="test1.class" WIDTH=500  HEIGHT=500> </APPLET>