Browse Source

Added pseudo logo.

Thomas Buck 12 years ago
parent
commit
ecf80f7ed3
1 changed files with 9 additions and 2 deletions
  1. 9
    2
      CubeControl/Frame.java

+ 9
- 2
CubeControl/Frame.java View File

84
 	private JPanel serialPanel = new JPanel();
84
 	private JPanel serialPanel = new JPanel();
85
 	private JPanel settingsPanel = new JPanel();
85
 	private JPanel settingsPanel = new JPanel();
86
 	private JSlider durationSlider = new JSlider(1, 256 ,1); //min, max, value
86
 	private JSlider durationSlider = new JSlider(1, 256 ,1); //min, max, value
87
+	private JLabel logoText = new JLabel();
88
+
87
 	private int lastSelectedFrame = 0;
89
 	private int lastSelectedFrame = 0;
88
 	private int lastSelectedAnim = 0;
90
 	private int lastSelectedAnim = 0;
89
 	public cubeWorker worker = new cubeWorker(this);
91
 	public cubeWorker worker = new cubeWorker(this);
766
 		cp.add(animPanel);
768
 		cp.add(animPanel);
767
 	
769
 	
768
 		filePanel.setBounds(409, 262, 243, 92);
770
 		filePanel.setBounds(409, 262, 243, 92);
769
-		filePanel.setBorder(BorderFactory.createTitledBorder("Load/Save"));
771
+		filePanel.setBorder(BorderFactory.createTitledBorder("Animation File"));
770
 		cp.add(filePanel);
772
 		cp.add(filePanel);
771
 	
773
 	
772
 		serialPanel.setBounds(409, 160, 243, 99);
774
 		serialPanel.setBounds(409, 160, 243, 99);
776
 		settingsPanel.setBounds(409, 75, 243, 82);
778
 		settingsPanel.setBounds(409, 75, 243, 82);
777
 		settingsPanel.setBorder(BorderFactory.createTitledBorder("Frame duration"));
779
 		settingsPanel.setBorder(BorderFactory.createTitledBorder("Frame duration"));
778
 		cp.add(settingsPanel);
780
 		cp.add(settingsPanel);
779
-	
781
+
782
+		logoText.setText("CubeControl");
783
+		logoText.setBounds(415, 10, 243, 65);
784
+		logoText.setFont(new Font("Default", Font.BOLD, 38));
785
+		cp.add(logoText);
786
+
780
 		// Ende Komponenten
787
 		// Ende Komponenten
781
 		animList.addListSelectionListener(this);
788
 		animList.addListSelectionListener(this);
782
 		frameList.addListSelectionListener(this);
789
 		frameList.addListSelectionListener(this);

Loading…
Cancel
Save