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,6 +84,8 @@ public class Frame extends JFrame implements ListSelectionListener, ChangeListen
84 84
 	private JPanel serialPanel = new JPanel();
85 85
 	private JPanel settingsPanel = new JPanel();
86 86
 	private JSlider durationSlider = new JSlider(1, 256 ,1); //min, max, value
87
+	private JLabel logoText = new JLabel();
88
+
87 89
 	private int lastSelectedFrame = 0;
88 90
 	private int lastSelectedAnim = 0;
89 91
 	public cubeWorker worker = new cubeWorker(this);
@@ -766,7 +768,7 @@ public class Frame extends JFrame implements ListSelectionListener, ChangeListen
766 768
 		cp.add(animPanel);
767 769
 	
768 770
 		filePanel.setBounds(409, 262, 243, 92);
769
-		filePanel.setBorder(BorderFactory.createTitledBorder("Load/Save"));
771
+		filePanel.setBorder(BorderFactory.createTitledBorder("Animation File"));
770 772
 		cp.add(filePanel);
771 773
 	
772 774
 		serialPanel.setBounds(409, 160, 243, 99);
@@ -776,7 +778,12 @@ public class Frame extends JFrame implements ListSelectionListener, ChangeListen
776 778
 		settingsPanel.setBounds(409, 75, 243, 82);
777 779
 		settingsPanel.setBorder(BorderFactory.createTitledBorder("Frame duration"));
778 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 787
 		// Ende Komponenten
781 788
 		animList.addListSelectionListener(this);
782 789
 		frameList.addListSelectionListener(this);

Loading…
Cancel
Save