further working on clearing up compile errors

This commit is contained in:
benfry
2004-05-10 04:30:31 +00:00
parent e9399d05e0
commit ee34a5debe
4 changed files with 13 additions and 10 deletions

View File

@@ -240,7 +240,8 @@ public class PdeSketchbook {
menu.removeAll();
try {
addSketches(menu, sketchbookFolder);
//addSketches(menu, new File(PdePreferences.get("sketchbook.path")));
addSketches(menu, new File(PdePreferences.get("sketchbook.path")));
menu.addSeparator();
addSketches(menu, examplesFolder);
@@ -255,7 +256,7 @@ public class PdeSketchbook {
}
protected boolean addSketches(File folder) throws IOException {
protected boolean addSketches(JMenu menu, File folder) throws IOException {
// skip .DS_Store files, etc
if (!folder.isDirectory()) return false;