@Override
		public void actionPerformed(ActionEvent e) {
			Component source = (Component) e.getSource();
			if(e.getSource().equals(file)){
				new FilePopup(dw).show(source,0,getHeight());
			}else if(e.getSource().equals(edit)){
				new EditPopup(paint).show(source,0,getHeight());
			}else if(e.getSource().equals(display)){
				new DisplayPopup(dw).show(source,0,getHeight());
			}else if(e.getSource().equals(help)){
				new HelpPopup().show(source,0,getHeight());
			}
			
		}