List of usage examples for java.awt.event ActionListener interface-usage
From source file Main.java
public class Main extends JFrame implements ActionListener { static ProgressMonitor pbar; static int counter = 0; public Main() { setSize(250, 100);
From source file Main.java
public class Main implements ActionListener { Main() { JFrame f = new JFrame("Menu Demo"); f.setSize(220, 200); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
From source file MainClass.java
public class MainClass extends JPanel implements ActionListener { public MainClass() { JButton jb = new JButton(new MyIcon()); jb.setActionCommand("France"); jb.addActionListener(this);
From source file Main.java
public class Main extends JPanel implements ActionListener { public Main() { JButton jb = new JButton(new MyIcon()); jb.setActionCommand("France"); jb.addActionListener(this);
From source file TabComponent.java
class TabComponent extends JPanel implements ActionListener { private JTabbedPane pane; public TabComponent(String title, JTabbedPane pane) { this.pane = pane; setOpaque(false);
From source file TabComponent.java
class TabComponent extends JPanel implements ActionListener { private JTabbedPane pane; public TabComponent(String title, JTabbedPane pane) { this.pane = pane; setOpaque(false);
From source file Main.java
public class Main extends JFrame implements ActionListener { private JComboBox mainComboBox; private JComboBox subComboBox; private Hashtable subItems = new Hashtable(); public Main() {
From source file MainClass.java
public class MainClass extends JFrame implements ActionListener { JButton jb; MainClass(String title) { super(title); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
From source file ToggleButton.java
public class ToggleButton extends JDialog implements ActionListener { private JToggleButton red = new JToggleButton("red"); private JToggleButton green = new JToggleButton("green");
From source file Main.java
public class Main extends JFrame implements ActionListener { JTabbedPane tabbedPane; JButton focusButton; JPanel contentPane, tab1 = new JPanel(), tab2 = new JPanel(); JTextField textField1 = new JTextField(10), textField2 = new JTextField(10), textField3 = new JTextField(10);