if (event.getActionCommand().equals("Weiter")) { Config conf = Start.getConf(); if (conf.getUsername().equals("") || conf.getPassword().equals("")) { Base.showBox(this, "Deine Benutzerdaten sind falsch.",1); endDialog(); } else { UploadDialog u = new UploadDialog(this); u.setVisible(true); } }
  public void actionPerformed(ActionEvent event)  {	if (event.getActionCommand().equals("Schlie\u00DFen")) {	    this.canceled = true;	    endDialog();	}	if (event.getActionCommand().equals("Download")) {		Config conf = Start.getConf();		if (conf.getUsername().equals("") || conf.getPassword().equals("")) {			Base.showBox(this, "Deine Benutzerdaten sind falsch.",1);			endDialog();		}		else {			DownDialog d = new DownDialog(this);			d.setVisible(true);		}	 }  }