Website in applet help-actionListener
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
publicclass MainIndexextends Appletimplements MouseListener{
Image header;
Image home;
Image halo;
Image java;
publicvoid init(){
header = getImage(getCodeBase(),"header.png");
home = getImage(getCodeBase(),"on.png");
halo = getImage(getCodeBase(),"off.png");
java = getImage(getCodeBase(),"off.png");
addMouseListener(halo);
}
publicvoid mouseClicked(MouseEvent e){
}
publicvoid paint(Graphics g){
g.drawImage(header, 1, 1,this);
g.drawRect(0, 0, getSize().width - 1, getSize().height - 1);
g.drawRect(0, 101, getSize().width - 1, getSize().height - 1);
g.drawImage(home, 370, 77,this);
g.drawImage(halo, 447, 77,this);
g.drawImage(java, 524, 77,this);
g.drawString("Ben Sprinkle's Website", 4, 75);
String body ="I am Ben Sprinkle and this is where I share my interests with other people.";
g.drawString(body, 4, 115);
showStatus("Ben Sprinkle's Website");
}
publicvoid rePaintHaloTab(Graphics g){
}
publicvoid rePaintJavaTab(Graphics g){
}
publicvoid stop(){
}
}
Is it possible to add action listeners to my image? I need help.

