public MyPanel(Clock clock){
			myTime = new MyTime();
			this.clock = clock;
			font = new Font(fontStyle, fontKind, fontSize);
			super.setBackground(bgColor);
			popup = new JPopupMenu();
			
			JMenu mn = new JMenu("menu");
			editor = new JEditorPane();
			editor.setContentType("text/html");
			editor.setEditable(true);
			
			editor.setText("<b>Hello</b>");
			mn.add(editor);
			JMenu mnf = new JMenu("font style");
			JMenu mnfs = new JMenu("font size");
			JMenu mnfc = new JMenu("font color");
			JMenu mnbg = new JMenu("background color");
			
			mn.add(mnf);
			mn.add(mnfs);
			mn.add(mnfc);
			mn.add(mnbg);
			
			GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
			fs = ge.getAvailableFontFamilyNames();
			JMenuItem[] mif = new JMenuItem[fs.length];
			for(int i = 0; i < fs.length; i++){
				mif[i] = new JMenuItem(fs[i]);
				mnf.add(mif[i]);
				mif[i].addActionListener(new ActionAdapter(this, this.clock));
			}
			
			JMenuItem[] mifs = new JMenuItem[FONT_SIZE_LENGTH];
			for(int i = 0; i < FONT_SIZE_LENGTH; i++){
				mifs[i] = new JMenuItem(Integer.valueOf(10*2*(i+1)).toString());
				mnfs.add(mifs[i]);
				mifs[i].addActionListener(new ActionAdapter(this, this.clock));
			}
			
			JMenuItem[] mifc = new JMenuItem[COLOR_LIST_LENGTH];
			for(int i = 0; i < COLOR_LIST_LENGTH; i++){
				mifc[i] = new JMenuItem(colorStr[i]);
				mnfc.add(mifc[i]);
				mifc[i].addActionListener(new ActionAdapter(this, this.clock));
			}
			
			JMenuItem[] mibg = new JMenuItem[COLOR_LIST_LENGTH];
			for(int i = 0; i < COLOR_LIST_LENGTH; i++){
				mibg[i] = new JMenuItem(bgColorStr[i]);
				mnbg.add(mibg[i]);
				mibg[i].addActionListener(new ActionAdapter(this, this.clock));
			}
			
			popup.add(mn);
			add(popup);
		
		}