31 lines
791 B
Java
31 lines
791 B
Java
|
package fenetres.create_act;
|
||
|
|
||
|
import java.awt.event.ActionEvent;
|
||
|
|
||
|
import javax.swing.AbstractAction;
|
||
|
import javax.swing.Action;
|
||
|
import javax.swing.ImageIcon;
|
||
|
|
||
|
import fenetres.create;
|
||
|
import fenetres.setting;
|
||
|
|
||
|
public class actSetting extends AbstractAction{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
{
|
||
|
putValue( Action.NAME, "Settings" );
|
||
|
putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/settingmini.png")) );
|
||
|
putValue( Action.LARGE_ICON_KEY, new ImageIcon(create.class.getResource("/resources/setting.png")) );
|
||
|
putValue( Action.SHORT_DESCRIPTION, "Modifier les paramètres" );
|
||
|
|
||
|
}
|
||
|
@Override
|
||
|
public void actionPerformed(ActionEvent e) {
|
||
|
setting.getInstance();
|
||
|
}
|
||
|
|
||
|
}
|