Browse Source

Now compiles on Mac

Thomas Buck 12 years ago
parent
commit
83ead69142
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      CubeControl/Frame.java
  2. 1
    1
      CubeControl/libSerial/makefile

+ 1
- 1
CubeControl/Frame.java View File

263
 		// int x = (d.width - getSize().width) / 2;
263
 		// int x = (d.width - getSize().width) / 2;
264
 		// int y = (d.height - getSize().height) / 2;
264
 		// int y = (d.height - getSize().height) / 2;
265
 		// setLocation(x, y);
265
 		// setLocation(x, y);
266
-		setLocation(10, 10);
266
+		setLocation(50, 50);
267
 		Container cp = getContentPane();
267
 		Container cp = getContentPane();
268
 		cp.setLayout(null);
268
 		cp.setLayout(null);
269
 		Font font = new Font("Dialog", Font.PLAIN, 13);
269
 		Font font = new Font("Dialog", Font.PLAIN, 13);

+ 1
- 1
CubeControl/libSerial/makefile View File

31
 	javah -o serialInterface.h HelperUtility
31
 	javah -o serialInterface.h HelperUtility
32
 
32
 
33
 HelperUtility.class: ../HelperUtility.java
33
 HelperUtility.class: ../HelperUtility.java
34
-	javac ../HelperUtility.java
34
+	javac -sourcepath ../ ../HelperUtility.java
35
 	cp ../HelperUtility.class HelperUtility.class
35
 	cp ../HelperUtility.class HelperUtility.class
36
 
36
 
37
 # SystemRoot is only defined in Windows
37
 # SystemRoot is only defined in Windows

Loading…
Cancel
Save