List of usage examples for java.awt.event ActionListener interface-usage
From source file ImageViewer.java
public class ImageViewer extends JFrame implements ActionListener { public ImageViewer() { setTitle("ImageViewer"); setSize(300, 400); JMenuBar mbar = new JMenuBar();
From source file Main.java
public class Main extends JFrame implements ActionListener { Main(String title) { super(title); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
From source file MainClass.java
public class MainClass extends JFrame implements ActionListener { MainClass(String title) { super(title); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
From source file FilterLab.java
public class FilterLab extends JApplet implements ActionListener { private Image originalImage, filteredImage; private Button btn = new Button("FILTER"); private CropImageFilter cropFilter = new CropImageFilter(50, 20, 120, 140);
From source file CardFrame.java
class CardFrame extends JFrame implements ActionListener { JButton nextCard = new JButton("Next Card >"); JButton prevCard = new JButton("< Previous Card"); JButton firstCard = new JButton("<< First Card"); JButton lastCard = new JButton("Last Card >>"); JPanel cardPanel = new JPanel();
From source file Main.java
public class Main extends JFrame implements ActionListener { private JList list; private DefaultListModel model; public Main() { JPanel panel = new JPanel();
From source file ImageFileFilterImageScale.java
public class ImageFileFilterImageScale extends JFrame implements ActionListener { Image img; JButton getPictureButton = new JButton("Get Picture"); public static void main(String[] args) {
From source file SelectionHandler.java
public class SelectionHandler implements ActionListener, ListSelectionListener { private JLabel direction; private JList source, destination; public SelectionHandler(JLabel d, JList left, JList right) {
From source file MultiHighlight.java
public class MultiHighlight implements ActionListener { private JTextComponent comp; private String charsToHighlight;
From source file Main.java
public class Main extends JFrame implements KeyListener, ActionListener { JTextField typingArea; public static void main(String[] args) { Main frame = new Main(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);