public void actionPerformed(ActionEvent arg0) {
GlobaleEinstellungen asd = new GlobaleEinstellungen();
asd.setLocationRelativeTo(chartPanel);
asd.setVisible(true);
}
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent event) {
setVisible(false);
System.exit(0);
}
});