Figure 1: A simple Java application with Swing JButton and JLabel components