@Override
	public void mouseClicked(MouseEvent e) {
		            int gunx=e.getX(),guny=e.getY();
		            int xxx=(gunx-390)/30,yyy=(guny-60)/30;
		            
		            
		            if(guDestroy==planeCount){
		            	JOptionPane.showMessageDialog(null, "Destroy:"+guDestroy+" hit: "+guHit+"\n"+"USER winner");
		            	calculate();
		            	ff.setVisible(false);
		            	Start st=new Start();
		            }
		            else if(harddestroy==planeCount){
		            	JOptionPane.showMessageDialog(null, "Destroy:"+guDestroy+" hit: "+guHit+"\n"+"USER LOse");
		            	ff.setVisible(false);
		            	Start st=new Start();
		            }
		            else{
		            if(!bo){
		            	createAndDisplayGUI();
		            }
		            else if(bo){
		            g1=ff.getGraphics();
		            if(checker(xxx,yyy)){
		            co++;
		           
		            if(gunx>390&&gunx<690&&guny<360&&guny>60&&gu==1){
		            t1=new AnnoyingBeep(g1,0,com);
					if(table2[yyy][xxx]==0){
						g1.drawString("H", xxx*30+390+15, yyy*30+90+15);
					}
					else if(table2[yyy][xxx]==1){
						g1.drawString("SH", xxx*30+390+15, yyy*30+90+15);
						guHit++;
					}
					else if(table2[yyy][xxx]==2){
						g1.drawString("C", xxx*30+390+15, yyy*30+90+15);
						guDestroy++;
					}
					gu=0;
	            	com=1;
	            	comShooting();
		            }
		            }
		            else {
		            	createAndDisplayGUI1();
		            }
		            }
		            }
	}