Archived
[MODIFIED] Diverse Ausgaben hinzugefügt.
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
Manifest-Version: 1.0
|
|
||||||
Main-Class: com.ixab.Main
|
|
||||||
|
|
||||||
@@ -51,6 +51,7 @@ public class AddStreamDialog extends JDialog {
|
|||||||
MainWindowGate.getMainWindow().lockStreamInfoGetter = true;
|
MainWindowGate.getMainWindow().lockStreamInfoGetter = true;
|
||||||
MainWindowGate.getMainWindow().initStreamsComboBox();
|
MainWindowGate.getMainWindow().initStreamsComboBox();
|
||||||
MainWindowGate.getMainWindow().lockStreamInfoGetter = false;
|
MainWindowGate.getMainWindow().lockStreamInfoGetter = false;
|
||||||
|
ErrorMessageGate.setErrorText("Stream \""+textField1.getText()+"\" hinzugefügt.");
|
||||||
textField1.setText("");
|
textField1.setText("");
|
||||||
dispose();
|
dispose();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ public class MainWindow {
|
|||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
StreamOpener so = new StreamOpener(ConfigFileInstanceHandler.getConfig(), ConfigFileInstanceHandler.getConfig().getStreams().indexOf(comboBoxStreams.getSelectedItem()), comboBoxQuality.getSelectedItem().toString());
|
StreamOpener so = new StreamOpener(ConfigFileInstanceHandler.getConfig(), ConfigFileInstanceHandler.getConfig().getStreams().indexOf(comboBoxStreams.getSelectedItem()), comboBoxQuality.getSelectedItem().toString());
|
||||||
so.start();
|
so.start();
|
||||||
|
ErrorMessageGate.setErrorText("Starte Livestreamer für Channel \""+comboBoxStreams.getSelectedItem().toString()+"\"...");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
buttonAddStream.addActionListener(new ActionListener() {
|
buttonAddStream.addActionListener(new ActionListener() {
|
||||||
@@ -94,6 +95,7 @@ public class MainWindow {
|
|||||||
textFieldStreamViewers.setText(StreamInfo.getViewers());
|
textFieldStreamViewers.setText(StreamInfo.getViewers());
|
||||||
textFieldStreamTitle.setText(StreamInfo.getTitle());
|
textFieldStreamTitle.setText(StreamInfo.getTitle());
|
||||||
panelPreviewImage.getGraphics().drawImage(StreamInfo.getPreviewImage(),0,0,null);
|
panelPreviewImage.getGraphics().drawImage(StreamInfo.getPreviewImage(),0,0,null);
|
||||||
|
ErrorMessageGate.setErrorText("Stream-Daten von "+comboBoxStreams.getSelectedItem().toString() + " geladen/aktualisiert.");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Thread t = new Thread(r);
|
Thread t = new Thread(r);
|
||||||
|
|||||||
Reference in New Issue
Block a user