package tp4.actions; import java.awt.event.ActionEvent; import java.awt.event.KeyEvent; import java.io.File; import javax.swing.AbstractAction; import javax.swing.JComboBox; import javax.swing.JDialog; import javax.swing.KeyStroke; import tp4.Fenetre; import tp4.util.UtilitaireFichierImage; public class ActionConfigurer extends AbstractAction { Fenetre f; JDialog d; JComboBox selection; public ActionConfigurer(Fenetre f) { super("Configurer"); putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke("control F")); putValue(SHORT_DESCRIPTION, "Configurer le pas"); putValue(MNEMONIC_KEY, KeyEvent.VK_F); d = new JDialog(); d.getContentPane().setSize(300,300); selection = new JComboBox(); d.add(selection); } @Override public void actionPerformed(ActionEvent arg0) { } }