private void initialize() {
		if(frame==null)
			frame = new JFrame();
		frame.setTitle("グラフビュー");
		frame.setBounds(600, 315, 400, 285);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.getContentPane().setLayout(new BorderLayout(0, 0));

		JComboBox comboBox = new JComboBox();
		comboBox.setModel(new DefaultComboBoxModel(new String[] {
				"消費・供給電力統計",
				"購入・売却電力統計",
				"１時間あたりの消費・生産電力",
				"１時間あたりの購入・売却料金",
				"for out put",
				"for out put2"
		}));
		comboBox.addItemListener(new ItemListener() {
			public void itemStateChanged(ItemEvent arg0) {
				if(arg0.getStateChange()==ItemEvent.SELECTED){
					frame.getContentPane().remove(graphPainPanel);
					if(arg0.getItem().equals("消費・供給電力統計")){
						graphPainPanel=chartManager.getProductAndConsumeElectoricityChart();
					}else if(arg0.getItem().equals("購入・売却電力統計")){
						graphPainPanel=chartManager.getProductAndConsumeMoneyChart();
					}else if(arg0.getItem().equals("１時間あたりの消費・生産電力")){
						graphPainPanel=chartManager.getProductAndConsumeElectoricityPerHourChart();
					}else if(arg0.getItem().equals("１時間あたりの購入・売却料金")){
						graphPainPanel=chartManager.getProductAndConsumeMoneyPerHourChart();
					}else if(arg0.getItem().equals("for out put")){
						graphPainPanel=chartManager.getForOutputChart();
					}else if(arg0.getItem().equals("for out put2")){
						graphPainPanel=chartManager.getForOutput2Chart();
					}
					frame.getContentPane().add(graphPainPanel, BorderLayout.CENTER);
					frame.repaint();
					frame.validate();
				}
			}
		});
		frame.getContentPane().add(comboBox, BorderLayout.NORTH);

		graphPainPanel = chartManager.getProductAndConsumeElectoricityChart();
		frame.getContentPane().add(graphPainPanel, BorderLayout.CENTER);
		frame.repaint();
		frame.validate();
	}