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

				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;

				g.clearRect(0, 0, 600, 400);
				g.drawImage(pimage, 270, cy, frame1);

				/*g.setColor(Color.BLUE);
				g.fillOval(250, cy, 100, 100);
				g.fillRect(0, 0, 100, 100);*/

				/*g.setFont(new Font("Serif", Font.PLAIN, 40));
				g.drawString("こんちわ Hello!", 100, 100);
				drawStringCenter("こんちわ Hello!", 100, g);
				g.setFont(new Font("SansSerif", Font.PLAIN, 60));
				g.drawString("こんちわ Hello!", 100, 140);
				drawStringCenter("こんちわ Hello!", 160, g);
				g.setFont(new Font("Monospaced", Font.PLAIN, 40));
				g.drawString("こんちわ Hello!", 100, 180);
				g.setFont(new Font("Dialog", Font.PLAIN, 40));
				g.drawString("こんちわ Hello!", 100, 220);
				g.setFont(new Font("DialogInput", Font.PLAIN, 40));
				g.drawString("こんちわ Hello!", 100, 260);
				g.setFont(new Font("DHP行書体", Font.PLAIN, 40));
				g.drawString("こんちわ Hello!", 100, 300);*/
				bstrategy.show();
				g.dispose();
				System.out.println(cy + "." + speed);
			}

		}