The init Method
incButton = new Button("+");
decButton = new Button("-");
valField = new TextField();
valField.setText(Integer.toString(ctr.getVal()));
p.setLayout(new BorderLayout());
p.add(incButton, "North");
p.add(decButton, "South");
incButton.addActionListener(this);
decButton.addActionListener(this);