Created
November 23, 2016 12:59
-
-
Save kroovysteph/9b036c9dfeb1bba27b8927c8476d1b22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ImageEditor extends JFrame implements ActionListener { | |
private ImagePanel _image_panel; | |
private JButton _jb_load; | |
private JButton _jb_select; | |
private JButton _jb_invert; | |
private JButton _jb_colorize_r; | |
private JButton _jb_colorize_g; | |
private JButton _jb_colorize_b; | |
private JButton _jb_mirror_x; | |
private JButton _jb_mirror_y; | |
private JButton _jb_mystery; | |
public JButton create_button(String label) { | |
JButton button = new JButton(label); | |
button.addActionListener(this); | |
return button; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment