Archived
[MODIFIED] Diverse Ausgaben hinzugefügt.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user