Java Action listener problem .illegal start and psvm semi colen
//please solve the errors for me , 


import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
import javax.swing.border.*;

public class entry1 extends JFrame implements ActionListener //,KeyListener
 {
   
   JLabel pn1,cat,mn1,qty1,desc1,uom1,loc1,pri1;
   JTextField pn,mn,qty,desc,loc,pri;   
   JComboBox catc,uomc;
   ImageIcon ic1;
   JButton b;
 	Connection cn1;
	ResultSet rs;
	Statement st;
     public void con()
   	 {
    	  try{
    	  	
			Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
			cn1=DriverManager.getConnection("jdbc:odbc:spms");		
			st=cn1.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
			rs=st.executeQuery("select * from parts");        
    	
		}catch(ClassNotFoundException e){JOptionPane.showMessageDialog(this,e);} 
			catch(SQLException s){JOptionPane.showMessageDialog(this,s);}      
    }//con
    	
    public entry1()
    {
    	super("Data entry1");
    	Container c1=getContentPane();
        Toolkit kit = Toolkit.getDefaultToolkit();
        Dimension screens = kit.getScreenSize();
        int scrh = screens.height;
        int scrw = screens.width;         
        MenuBar mbar=new MenuBar();
        setBackground( Color.LIGHT_GRAY);
        c1.setForeground(new Color(0,150,0));
        setSize( scrw ,  scrh );         
        setLocation( 0 , 0 );   
		
		ic1=new ImageIcon("NewI.jpg");
			
        	c1.setLayout(null);
        		pn=new JTextField();
        		mn=new JTextField();
        		qty=new JTextField();
        		desc=new JTextField();
    			//uom=new JTextField();
   				loc=new JTextField();
   				
   				
				uomc=new JComboBox();
				uomc.addItem("Set");
				uomc.addItem("Each");
				uomc.addItem("Mtr");
				
				catc=new JComboBox();
				catc.addItem("Mechnical");
				catc.addItem("Electrical");
				catc.addItem("p---");
				catc.addItem("Hydrolic");
				
        		
        		pn1=new JLabel("Part Number");
        		cat=new JLabel("Part Catagory");
        		mn1=new JLabel("Machine Name");
        		desc1=new JLabel("Part Desc");
        		qty1=new JLabel("Quantity");
        		uom1=new JLabel("Unit of Measure");	
        		loc1=new JLabel("Storage Location");	
        			
        		pn1.setBounds(300,200,160,30);
				pn.setBounds(500,200,130,30);
				cat.setBounds(300,250,160,30);
				catc.setBounds(500,250,160,30);
				mn.setBounds(500,300,130,30);
				mn1.setBounds(300,300,160,30);
				desc1.setBounds(300,350,160,30);
				desc.setBounds(500,350,160,30);
				qty1.setBounds(300,400,160,30);
				qty.setBounds(500,400,160,30);
				uom1.setBounds(300,450,165,30);
				uomc.setBounds(500,450,100,30);
				loc1.setBounds(300,500,180,30);
				loc.setBounds(500,500,160,30);
				
				pn1.setForeground( new Color(0,150,0));  
				pn.setForeground( new Color(0,150,0));  
				pn1.setFont(new Font("Georgia",Font.BOLD,20));				pn.setFont(new Font("Georgia",Font.BOLD,15));
				mn1.setFont(new Font("Georgia",Font.BOLD,20));				mn.setFont(new Font("Georgia",Font.BOLD,15));
				//cat.setForeground( new Color(0,150,0));  
				cat.setFont(new Font("Georgia",Font.BOLD,20));				catc.setFont(new Font("Georgia",Font.BOLD,15));
				desc1.setFont(new Font("Georgia",Font.BOLD,20));			desc.setFont(new Font("Georgia",Font.BOLD,15));
				qty1.setFont(new Font("Georgia",Font.BOLD,20));				qty.setFont(new Font("Georgia",Font.BOLD,15));			
				uom1.setFont(new Font("Georgia",Font.BOLD,20));				uomc.setFont(new Font("Georgia",Font.BOLD,15));
				
				loc1.setFont(new Font("Georgia",Font.BOLD,20));				loc.setFont(new Font("Georgia",Font.BOLD,15));
				catc.setForeground( new Color(0,150,0)); 
				uomc.setFont(new Font("Georgia",Font.BOLD,15));
				uomc.setForeground( new Color(0,150,0)); 
				
				b=new JButton("click");
				b.setBounds(750,230,80,40);
				b.addActionListener(this);
				
		
				
				c1.add(pn1);
				c1.add(pn);
				c1.add(cat);
				c1.add(catc);
				c1.add(mn);
				c1.add(mn1);
				c1.add(desc1);
				c1.add(desc);
				c1.add(qty1);
				c1.add(qty);
				c1.add(uom1);
				c1.add(uomc);
				c1.add(loc1);
				c1.add(loc);
				c1.add(b);
				
				
        		setVisible(true);
				
				public void actionPerformed(ActionEvent a1)
				{	
				/*	try
					{					
						if(a1.getSource()==New)
						{
							con();
						}
					}catch(SQLException s){JOptionPane.showMessageDialog(this,s);} 
     	*/
    			}
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) 
    {
    
       entry1 w=new entry1();
    }
}

Java Action listener problem .illegal start and psvm semi colen
===

//please solve the errors for me , 


import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
import javax.swing.border.*;

public class entry1 extends JFrame implements ActionListener //,KeyListener
 {
   
   JLabel pn1,cat,mn1,qty1,desc1,uom1,loc1,pri1;
   JTextField pn,mn,qty,desc,loc,pri;   
   JComboBox catc,uomc;
   ImageIcon ic1;
   JButton b;
 	Connection cn1;
	ResultSet rs;
	Statement st;
     public void con()
   	 {
    	  try{
    	  	
			Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
			cn1=DriverManager.getConnection("jdbc:odbc:spms");		
			st=cn1.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
			rs=st.executeQuery("select * from parts");        
    	
		}catch(ClassNotFoundException e){JOptionPane.showMessageDialog(this,e);} 
			catch(SQLException s){JOptionPane.showMessageDialog(this,s);}      
    }//con
    	
    public entry1()
    {
    	super("Data entry1");
    	Container c1=getContentPane();
        Toolkit kit = Toolkit.getDefaultToolkit();
        Dimension screens = kit.getScreenSize();
        int scrh = screens.height;
        int scrw = screens.width;         
        MenuBar mbar=new MenuBar();
        setBackground( Color.LIGHT_GRAY);
        c1.setForeground(new Color(0,150,0));
        setSize( scrw ,  scrh );         
        setLocation( 0 , 0 );   
		
		ic1=new ImageIcon("NewI.jpg");
			
        	c1.setLayout(null);
        		pn=new JTextField();
        		mn=new JTextField();
        		qty=new JTextField();
        		desc=new JTextField();
    			//uom=new JTextField();
   				loc=new JTextField();
   				
   				
				uomc=new JComboBox();
				uomc.addItem("Set");
				uomc.addItem("Each");
				uomc.addItem("Mtr");
				
				catc=new JComboBox();
				catc.addItem("Mechnical");
				catc.addItem("Electrical");
				catc.addItem("p---");
				catc.addItem("Hydrolic");
				
        		
        		pn1=new JLabel("Part Number");
        		cat=new JLabel("Part Catagory");
        		mn1=new JLabel("Machine Name");
        		desc1=new JLabel("Part Desc");
        		qty1=new JLabel("Quantity");
        		uom1=new JLabel("Unit of Measure");	
        		loc1=new JLabel("Storage Location");	
        			
        		pn1.setBounds(300,200,160,30);
				pn.setBounds(500,200,130,30);
				cat.setBounds(300,250,160,30);
				catc.setBounds(500,250,160,30);
				mn.setBounds(500,300,130,30);
				mn1.setBounds(300,300,160,30);
				desc1.setBounds(300,350,160,30);
				desc.setBounds(500,350,160,30);
				qty1.setBounds(300,400,160,30);
				qty.setBounds(500,400,160,30);
				uom1.setBounds(300,450,165,30);
				uomc.setBounds(500,450,100,30);
				loc1.setBounds(300,500,180,30);
				loc.setBounds(500,500,160,30);
				
				pn1.setForeground( new Color(0,150,0));  
				pn.setForeground( new Color(0,150,0));  
				pn1.setFont(new Font("Georgia",Font.BOLD,20));				pn.setFont(new Font("Georgia",Font.BOLD,15));
				mn1.setFont(new Font("Georgia",Font.BOLD,20));				mn.setFont(new Font("Georgia",Font.BOLD,15));
				//cat.setForeground( new Color(0,150,0));  
				cat.setFont(new Font("Georgia",Font.BOLD,20));				catc.setFont(new Font("Georgia",Font.BOLD,15));
				desc1.setFont(new Font("Georgia",Font.BOLD,20));			desc.setFont(new Font("Georgia",Font.BOLD,15));
				qty1.setFont(new Font("Georgia",Font.BOLD,20));				qty.setFont(new Font("Georgia",Font.BOLD,15));			
				uom1.setFont(new Font("Georgia",Font.BOLD,20));				uomc.setFont(new Font("Georgia",Font.BOLD,15));
				
				loc1.setFont(new Font("Georgia",Font.BOLD,20));				loc.setFont(new Font("Georgia",Font.BOLD,15));
				catc.setForeground( new Color(0,150,0)); 
				uomc.setFont(new Font("Georgia",Font.BOLD,15));
				uomc.setForeground( new Color(0,150,0)); 
				
				b=new JButton("click");
				b.setBounds(750,230,80,40);
				b.addActionListener(this);
				
		
				
				c1.add(pn1);
				c1.add(pn);
				c1.add(cat);
				c1.add(catc);
				c1.add(mn);
				c1.add(mn1);
				c1.add(desc1);
				c1.add(desc);
				c1.add(qty1);
				c1.add(qty);
				c1.add(uom1);
				c1.add(uomc);
				c1.add(loc1);
				c1.add(loc);
				c1.add(b);
				
				
        		setVisible(true);
				
				public void actionPerformed(ActionEvent a1)
				{	
				/*	try
					{					
						if(a1.getSource()==New)
						{
							con();
						}
					}catch(SQLException s){JOptionPane.showMessageDialog(this,s);} 
     	*/
    			}
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) 
    {
    
       entry1 w=new entry1();
    }
}
