public ManIdeal() {

		setVisible(false);
		setBackground(Color.WHITE);
		setLayout(null);
		imageStore = new String[BasicThings.size/2];
		imageName = new String[8];
		random = new int[8];
		
		int i;
		for ( i = 2 ; i <= BasicThings.size ; i +=2 )
		{
			imageStore[(i/2) - 1] = "yame\\image\\DB_ORIG\\"+i+".jpg";
		}
		this.getRand();
		for ( i = 0 ; i < 8 ; i ++ )
		{
			imageName[i] = imageStore[random[i]];
		}

		
		panel = new JPanel();
		panel.setBackground(Color.LIGHT_GRAY);
		panel.setBounds(-11, -12, 687, 603);
		add(panel);

		panel.setLayout(null);
		leftButton = new JButton("");
		rightButton = new JButton("");
		
		leftButton.setBackground(Color.PINK);
		rightButton.setBackground(Color.ORANGE);

		leftButton.setBounds(12, 37, 293, 397);
		rightButton.setBounds(306, 37, 296, 397);
		
		panel.add(leftButton);
		panel.add(rightButton);

		leftButton.addActionListener(this);
		rightButton.addActionListener(this);
	
		inputImageName();
	}