@Override
		public void actionPerformed(ActionEvent e) {
			JButton source = (JButton)e.getSource();
			if(source.getText().equals("Annuler")){
				dispose();
			}else{
				if(mainPanel.getSelectedComponent().equals(param)){
					p.resizeFiguresOnLayer(working_layer, Integer.parseInt(tailleX.getText()), Integer.parseInt(tailleY.getText()));
					p.moveFiguresOnLayer(working_layer, Integer.parseInt(originX.getText()), Integer.parseInt(originY.getText()));
				}else if(mainPanel.getSelectedComponent().equals(borderColor)){
					Color newColor = borderColorCC.getColor();
					p.setFigureBorderColor(working_layer, newColor);
				}else if(mainPanel.getSelectedComponent().equals(bgColor)){
					Color newColor = bgColorCC.getColor();
					p.setFigureFillingColor(working_layer, newColor);
				}
				if(source.getText().equals("OK"))
					dispose();
			}
		}