@Override
		public void run() {
			Graphics g = bstrategy.getDrawGraphics();
			if(bstrategy.contentsLost() == false){
				Insets insets = frame1.getInsets();
				g.translate(insets.left, insets.top);

				if(isgameover == true){
					g.setColor(Color.RED);
					g.setFont(new Font("Sanserif", Font.BOLD, 80));
					drawStringCenter("GAMEOVER", 200, g);
					bstrategy.show();
					g.dispose();
					return;
				}

				if(spkey == true){
					speed = speed - 0.25;
				}else{
					speed = speed + 0.25;
				}
				if(speed < -6) speed = -6;
				if(speed > 6) speed = 6;
				cy = cy + (int)speed;
				if(cy < 0) cy = 0;
				if(cy > 448) isgameover = true;

				g.clearRect(0, 0, 600, 400);
				g.drawImage(pimage, 270, cy, frame1);
				for(int i = 0; i<karasus.length; i = i + 1){
					karasus[i].draw(g, frame1);
				}

				bstrategy.show();
				g.dispose();
				System.out.println(cy + "." + speed);
			}

		}