99100101102103104105106107108109
button.setFocusable(false); button.setRolloverEnabled(true); bg.add(button); button.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { fireToolChangedEvent(t); } });