[MODIFIED] Diverse Ausgaben hinzugefügt.

This commit is contained in:
da
2015-11-12 21:57:07 +01:00
parent fe53e5e644
commit 369e3ddd17
3 changed files with 3 additions and 3 deletions
+1
View File
@@ -51,6 +51,7 @@ public class AddStreamDialog extends JDialog {
MainWindowGate.getMainWindow().lockStreamInfoGetter = true;
MainWindowGate.getMainWindow().initStreamsComboBox();
MainWindowGate.getMainWindow().lockStreamInfoGetter = false;
ErrorMessageGate.setErrorText("Stream \""+textField1.getText()+"\" hinzugefügt.");
textField1.setText("");
dispose();
}
+2
View File
@@ -39,6 +39,7 @@ public class MainWindow {
public void actionPerformed(ActionEvent e) {
StreamOpener so = new StreamOpener(ConfigFileInstanceHandler.getConfig(), ConfigFileInstanceHandler.getConfig().getStreams().indexOf(comboBoxStreams.getSelectedItem()), comboBoxQuality.getSelectedItem().toString());
so.start();
ErrorMessageGate.setErrorText("Starte Livestreamer für Channel \""+comboBoxStreams.getSelectedItem().toString()+"\"...");
}
});
buttonAddStream.addActionListener(new ActionListener() {
@@ -94,6 +95,7 @@ public class MainWindow {
textFieldStreamViewers.setText(StreamInfo.getViewers());
textFieldStreamTitle.setText(StreamInfo.getTitle());
panelPreviewImage.getGraphics().drawImage(StreamInfo.getPreviewImage(),0,0,null);
ErrorMessageGate.setErrorText("Stream-Daten von "+comboBoxStreams.getSelectedItem().toString() + " geladen/aktualisiert.");
}
};
Thread t = new Thread(r);