super(true);
setLayout(new GridLayout(1, 4));
bevel = new BevelBorder(BevelBorder.RAISED);
empty = new EmptyBorder(5, 5, 5, 5);
label[0] = new JLabel("Home");
label[1] = new JLabel("Back");
label[2] = new JLabel("Forward");
label[3] = new JLabel("Stop");
for (int i = 0; i < label.length; i++) {
label[i].setHorizontalAlignment(JLabel.CENTER);
label[i].addMouseListener(new RolloverListener());
label[i].setBorder(empty);
add(label[i]);
}