Number Modifier App

      import java.awt.*;
      import java.awt.event.*;
      import javax.swing.*; 

      public class NumberModifier {
        public static void main(String[] args) {
          MyFrame frame = new MyFrame();
        }
      }
      
      class MyFrame extends JFrame {
        public MyFrame() {
          applySettings();
          addComponents();
          setListeners();
      
          ...
        }
      
        private void applySettings() {
          ...
        }

        private void addComponents() {
          ...
        }
      
        private void setListeners() {
          ...
        }
      
        private JButton incButton;
        private JButton decButton;
        private JTextField step;
        private JLabel valueView;
      
        private int value = 0;
        private int increment = 1;
      }
    

Description and Objective

Things to Do