java+sql2005调试时苦恼的问题
这是登陆的界面代码,在数据库的用户表比对账户密码登录,但是我按了确定按钮却无法进入主界面,sql已经确定成功连接到了,然后下面是提示的异常,请问高手我的登陆部分代码有问题么,谢谢啦
********欢迎使用实习管理系统**********
Exception in thread "AWT-EventQueue-0" 
java.lang.Error: Unresolved compilation problem:  
	Syntax error, insert "Finally" to complete Statement
	at JavaSql.actionPerformed(JavaSql.java:580)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.Component.processMouseEvent(Component.java:6216)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
	at java.awt.Component.processEvent(Component.java:5981)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4583)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4413)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4413)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
这是登录的代码部分
public void actionPerformed(ActionEvent e){                        //当登录界面的确定按钮被点击时		         
		if(e.getSource()==quedin)
		try{                                  //对输入的管理员号和密码进行验证
			    String zh=t2.getText();
			    String zh1=t4.getText();
			    Connection c=DriverManager.getConnection("jdbc:odbc:studentdatabase");
			    Statement a=c.createStatement();
				ResultSet mm=a.executeQuery("select * from users where account='"+zh+"'");
				ResultSet ming=a.executeQuery("select * from users where code='"+zh1+"'");
			   if(ming.equals(zh1)||mm.equals(zh))
			     {  
			            this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);            //验证通过,则调用zhujiemian()方法
			            this.setSize(640,480);
			            this.setLocation(200,200);
			            this.setVisible(true);
				        zhujiemian();                                              
                     ((JComponent) this.getContentPane()).setOpaque(false);         //主界面的背景图片
                     java.net.URL url = JavaSql.class.getResource("111.jpg");
	             	ImageIcon img = new ImageIcon(url);
			        JLabel background = new JLabel(img);
			        this.getLayeredPane().add(background, new Integer(Integer.MIN_VALUE));
			        background.setBounds(0, 0, img.getIconWidth(), img.getIconHeight());
			        denglu.setVisible(false);
			}  else{ JOptionPane.showMessageDialog( null ,"密码输入错误!" ) ;	}
			   //验证失败,弹出错误的提示!    
		}		     
			   else{ JOptionPane.showMessageDialog( null ,"学号输入错误!" ) ;