work on sketchbook

This commit is contained in:
benfry
2002-07-02 15:55:41 +00:00
parent 96d4cc98d7
commit 13fc27d43f
3 changed files with 191 additions and 63 deletions

View File

@@ -8,63 +8,6 @@ import java.util.*;
import java.util.zip.*;
/*
[ File ]
New
Open ->
Save
Duplicate
Export
-
Proce55ing.net
Reference
-
Quit
[ Open-> (Sketchbook) ]
sketch-001
sketch-002
sketch-003
--
Course ->
Examples ->
Users ->
Proce55ing.net ->
--
Refresh List
Compile All
[ Edit ]
Undo
-
Cut
Copy
Paste
-
Select all
[ Sketch ]
Play
Present
Stop
new sketch just makes a new sketch, doesn't ask for name
tries to do numbered version based on sketches already present
last section is configurable
choose a name for the entries, and a url for the base of the code
file urls will be local, don't include file:/// to user
http urls are base of directory where the code is found
*/
public class PdeEditor extends Panel {
static final String DEFAULT_PROGRAM = "// type program here\n";
@@ -265,6 +208,7 @@ public class PdeEditor extends Panel {
}
buttons.clear();
}
*/
public void handleNew() {
@@ -314,6 +258,10 @@ public class PdeEditor extends Panel {
*/
public void sketchbookOpen() {
}
public void doOpen() {
FileDialog fd = new FileDialog(new Frame(),
"Open a PDE program...",