correct this program

import java.awt.;
import java.awt.Graphics;
import java.awt.event.
;
import java.applet.Applet;
class Applet1 extends Applet implements ActionListener
{
Font textFont;
int Fontnum;
public void init()
{
textFont = new Font(“serif”,Font.BOLD,12);
Fontnum=1;
Button bttn = newButton(“Change Font Size”);
bttn.addActionListener(this);
add(bttn);
}
public void main paint(Graphics g)
{
g.setFont(textFont);
g.drawString(“Java Class”,100,70);
}
public void action Perfomed(ActionEvent evt)
{
if(Fontnum==1)
{
Fontnum=2;
textFont=new Font(“Serif”,Font.Bold,24);
}
else if(Fontnum==2)
{
Fontnum=3;
textFont=new Font(“Serif”,Font.Bold,36);
}
else
{
Fontnum=1;
textFont=new Font(“serif”, Font.Bold,12);
}
repaint();
}
}

Umm…What is this code for??

//