private void ConnectionButtonClicked(MouseEvent evt) {
        if(Settings.activatePremium){
        	if(!UsernameField.getText().trim().equals("")){
        		if(!passwordField.getPassword().toString().trim().equals("")){
        			login(UsernameField.getText().trim(), new String(passwordField.getPassword()));
        		} else {
        			 notificationLabel.setText("Inserisci Password!");
        		}
        	}  else {
        		 notificationLabel.setText("Inserisci username!");
        	}
        } else {
        	if(UsernameField.getText().trim().equals("")){
                notificationLabel.setText("Inserisci username!");
                } else {
                	GameLauncher.username = UsernameField.getText().trim();
                	GameLauncher.Xmx = RamCombobox.getSelectedItem().toString().trim();
                	OptionsFrame.OptionsFrame.setVisible(false);
                	Downloader.startThread();  
              }
        }
    	

    }