private void initialize() {
		Product p1 = new Product("1233121","",15,66,true);
		Product p2 = new Product("1233122","ǹ",18,66,false);
		Product p3 = new Product("1233123","ɡ",88,180,true);
		ArrayList<Product> p = new ArrayList<Product>();
		p.add(p1);
		p.add(p2);
		p.add(p3);
		orderlist.add(new Order("1121341124", p, 1000.0, "С", "15195991111", "", "С", 
				"18697243456", "", "Ѿ", new ArrayList<String>() , "2014-3-14", "", 0));
		
		//
		mainFrame = new JFrame();
		mainFrame.setTitle("Ӫϵͳ");
		mainFrame.setResizable(false);
		mainFrame.setBounds(100, 100, 903, 570);
		mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		mainFrame.getContentPane().setLayout(null);
		
		
		mainPanel=new JPanel();
		
		//˵
		JMenuBar menuBar = new JMenuBar();
		menuBar.setFont(new Font("΢ź", Font.BOLD, 15));
		mainFrame.setJMenuBar(menuBar);
		
		//ڲ˵	˵˵
		JMenu orderMenu = new JMenu("˵");
		orderMenu.setFont(new Font("΢ź", Font.BOLD, 15));
		menuBar.add(orderMenu);
		//ڲ˵	
		JMenu carMenu = new JMenu("");
		carMenu.setFont(new Font("΢ź", Font.BOLD, 15));
		menuBar.add(carMenu);
		//ڲ˵	
		JMenu stockMenu = new JMenu("");
		stockMenu.setFont(new Font("΢ź", Font.BOLD, 15));
		menuBar.add(stockMenu);
		//ڲ˵	˳
		JMenu quitMenu = new JMenu("˳");
		quitMenu.setFont(new Font("΢ź", Font.BOLD, 15));
		menuBar.add(quitMenu);
		quitMenu.addMouseListener(new MouseListener(){

			@Override
			public void mouseClicked(MouseEvent arg0) {
				// TODO Զɵķ
				System.exit(0);
			}

			@Override
			public void mouseEntered(MouseEvent arg0) {
				// TODO Զɵķ
				
			}

			@Override
			public void mouseExited(MouseEvent arg0) {
				// TODO Զɵķ
				
			}

			@Override
			public void mousePressed(MouseEvent arg0) {
				// TODO Զɵķ
				
			}

			@Override
			public void mouseReleased(MouseEvent arg0) {
				// TODO Զɵķ
				
			}
			
		});
		
		//˵˵--鿴
		JMenuItem seeMenuItem = new JMenuItem("˵鿴");
		seeMenuItem.setFont(new Font("΢ź", Font.BOLD, 15));
		seeMenuItem.addActionListener(new ActionListener() {
		public void actionPerformed(ActionEvent arg0) {
			mainPanel.removeAll();
			new OrderExaminationFrame(mainFrame, mainPanel,orderlist);
			mainPanel.repaint();
			}
		});		
		//˵˵--¼
		JMenuItem inputMenuItem = new JMenuItem("˵¼");
		inputMenuItem.setFont(new Font("΢ź", Font.BOLD, 15));
		inputMenuItem.addActionListener(new ActionListener() {
		public void actionPerformed(ActionEvent arg0) {
			mainPanel.removeAll();
			new OrderInputFrame(mainFrame, mainPanel);
			mainPanel.repaint();
			}
		});
		orderMenu.add(seeMenuItem);
		orderMenu.add(inputMenuItem);				
				
		
		
		
		////˵--Ϣ
		JMenuItem carMenuItem = new JMenuItem("Ϣ");
		carMenuItem.setFont(new Font("΢ź", Font.BOLD, 15));
		carMenuItem.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent e) {
				mainPanel.removeAll();
				new CarManagementFrame(mainFrame,mainPanel);
				mainPanel.repaint();
			}
			
		});
		//˵--
		JMenuItem transMenuItem = new JMenuItem("");
		transMenuItem.setFont(new Font("΢ź", Font.BOLD, 15));
		transMenuItem.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent e) {
				mainPanel.removeAll();
				new TransManagementFrame(mainFrame,mainPanel);
				mainPanel.repaint();
			}
			
		});
		
		carMenu.add(carMenuItem);
		carMenu.add(transMenuItem);
		
		//˵--
		JMenuItem deliverMenuItem = new JMenuItem("");
		deliverMenuItem.setFont(new Font("΢ź", Font.BOLD, 15));
		deliverMenuItem.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent e) {
				mainPanel.removeAll();
				new DeliverStorageFrame(mainFrame,mainPanel);
				mainPanel.repaint();
			}
			
		});
		//˵--
		JMenuItem deliveredMenuItem=new  JMenuItem("");
		deliveredMenuItem.setFont(new Font("΢ź", Font.BOLD, 15));
		deliveredMenuItem.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent e) {
				mainPanel.removeAll();
				new DeliveredStorageFrame(mainFrame,mainPanel);
				mainPanel.repaint();
			}
			
		});
		
		stockMenu.add(deliverMenuItem);
		stockMenu.add(deliveredMenuItem);
		
		mainFrame.setVisible(true);
	}