public void actionPerformed(ActionEvent e) {
ControllerHub hub = jcpPanel.get2DHub();
IControllerModule newActiveModule=null;
if (type.equals("lasso")) {
newActiveModule=new SelectLassoModule(hub);
hub.getController2DModel().setDrawElement("C");
} else if (type.equals("select")) {
newActiveModule=new SelectSquareModule(hub);
hub.getController2DModel().setDrawElement("C");
} else if (type.equals("triangle")) {