looking into Windows 8 MovieMaker issue

This commit is contained in:
benfry
2012-12-08 02:33:52 +00:00
parent a964809796
commit 456b6b01b5
3 changed files with 20 additions and 9 deletions
@@ -2,6 +2,7 @@ package processing.app.tools;
import java.io.IOException;
import processing.app.Base;
import processing.app.Editor;
@@ -20,15 +21,21 @@ public class MovieMaker implements Tool {
public void run() {
String classPath =
getClass().getProtectionDomain().getCodeSource().getLocation().getPath();
System.out.println("cp is " + classPath);
try {
Runtime.getRuntime().exec(new String[] {
"java", "-cp", classPath, "processing.app.tools.MovieMakerFrame"
});
} catch (IOException e) {
e.printStackTrace();
if (Base.isMacOS()) {
// For OS X, run out of process, so that Quaqua doesn't hose the layout.
// http://code.google.com/p/processing/issues/detail?id=836
String classPath =
getClass().getProtectionDomain().getCodeSource().getLocation().getPath();
try {
Runtime.getRuntime().exec(new String[] {
"java", "-cp", classPath, "processing.app.tools.MovieMakerFrame"
});
} catch (IOException e) {
e.printStackTrace();
}
} else {
System.out.println("null frame, yeah baby");
MovieMakerFrame.main(null);
}
}
+2
View File
@@ -1,5 +1,7 @@
0216 core
_ Add clear() to replace background(0, 0, 0, 0)
_ http://code.google.com/p/processing/issues/detail?id=1446
_ implement mousePressed(Event) etc
_ better to do this instead of bringing back the magic event
+2
View File
@@ -1,5 +1,7 @@
0216 pde
_ on Windows, the Help menu seems to start with a separator
https://processing-js.lighthouseapp.com/