Commit ca513f5f authored by Matthias Möller's avatar Matthias Möller

Einfügung eines Titelbildschirms

parent 5bf11b8e
No preview for this file type
......@@ -54,12 +54,22 @@ public class EmotivGUI extends JFrame implements ActionListener{
this.createTrainingPanel();
this.createWebsocketConnectionPanel();
this.showTrainingPanel();
this.createDefaultPanel();
this.setSize(500, 220);
this.setResizable(false);
}
private void createDefaultPanel() {
JPanel defaultPanel = new JPanel();
defaultPanel.setPreferredSize(this.contentPanel.getPreferredSize());
JLabel label1 = new JLabel();
label1.setText("<html><center>Willkommen bei dem Trainingspanel des <p>ExplorViz-frontend-plugin-bcis.</center></html>");
defaultPanel.add(label1);
this.contentPanel.add(defaultPanel);
}
//Layout-Funktionen
private void createMenuBar() {
......@@ -220,12 +230,14 @@ public class EmotivGUI extends JFrame implements ActionListener{
}
public int getMCPUSHSensibilitiy(){
return this.MCPUSHSlider.getValue();
int result = this.MCPUSHSlider.getValue();
return result;
}
public int getMCPULLSenisibility() {
return this.MCPULLSlider.getValue();
int result = this.MCPULLSlider.getValue();
return result;
}
//---------------------------------------------------------------------------------------------------------------
//Update-Funktion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment