}
});
JButton larger = new JButton("F+");
larger.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
panel.incrementFontSize();
System.out.println("incremented");
}
});
JPanel top = new JPanel(new FlowLayout());
top.add(smaller);