JButton getPropButton = new JButton("Get Prop");
getPropButton.addActionListener(new AbstractAction() {
private static final long serialVersionUID = 1L;
@Override
public void actionPerformed(ActionEvent e) {
new DevicePropDialog( MainFrame.getInstance(), device).setVisible(true);
}
});
imageToolBar.add(getPropButton);
}