mirror of
https://github.com/processing/processing4.git
synced 2026-02-25 00:06:03 +01:00
minor fixes
This commit is contained in:
@@ -424,8 +424,7 @@ public class ErrorCheckerService implements Runnable{
|
||||
// .println("Experimental Mode: Loading contributed libraries referenced by import statements.");
|
||||
|
||||
// The folder SketchBook/modes/ExperimentalMode/mode
|
||||
File f = new File(Base.getSketchbookModesFolder().getAbsolutePath() + File.separator + "ExperimentalMode"
|
||||
+ File.separator + "mode");
|
||||
File f = editor.getMode().getContentFile("mode");
|
||||
|
||||
if(!f.exists()) {
|
||||
System.err.println("Could not locate the files required for on-the-fly error checking. Bummer.");
|
||||
|
||||
@@ -349,13 +349,9 @@ public class SketchOutline {
|
||||
protected final ImageIcon classIcon, fieldIcon, methodIcon;
|
||||
|
||||
public CustomCellRenderer() {
|
||||
String iconPath = "data" + File.separator + "icons";
|
||||
iconPath = (Base.getSketchbookFolder().getAbsolutePath())
|
||||
+ File.separator + "modes" + File.separator
|
||||
+ editor.getMode().getClass().getSimpleName() + File.separator
|
||||
+ "data" + File.separator + "icons";
|
||||
;
|
||||
|
||||
String iconPath = editor.getMode().getContentFile("data")
|
||||
.getAbsolutePath()
|
||||
+ File.separator + "icons";
|
||||
classIcon = new ImageIcon(iconPath + File.separator + "class_obj.png");
|
||||
methodIcon = new ImageIcon(iconPath + File.separator
|
||||
+ "methpub_obj.png");
|
||||
|
||||
Reference in New Issue
Block a user