@Override
	public void actionPerformed(ActionEvent e) {
		Object s = e.getSource();
		
		if(s instanceof JButton) {
			if(s instanceof ThemeItem) {
				Option.setTheme(((ThemeItem) s).getTheme());
				themeName.setText(Option.getThemeName().replace("/", ""));
				frame.dispose();
				changeTheme.setEnabled(true);
			}
			else if(((JButton)s).getText().equals(ViewConstante.BUTTON_CHANGE)){
				changeTheme.setEnabled(false);
				frame = new JFrame();
				frame.add(new ThemesView(this));
				frame.setVisible(true);
				frame.setResizable(false);
				frame.setLocation((int)(gui.getFrame().getLocation().getX()+100),
						(int)(gui.getFrame().getLocation().getY()+100));
				frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
				frame.pack();
				
			}
			else if(((JButton)s).getText().equals(ViewConstante.BUTTON_RETOUR_OPTION)){
				frame.dispose();
				changeTheme.setEnabled(true);
			}
		}
		else if (s instanceof JCheckBox) {
			methLevel(((JCheckBox)s));
		}
	}