| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,7 +43,7 @@ public Editor createEditor(Base base, String path, EditorState state) { | |||
| 43 | 43 | ||
| 44 | 44 | public JavaMode(Base base, File folder) { | |
| 45 | 45 | super(base, folder); | |
| 46 | - | ||
| 46 | + | ||
| 47 | 47 | initLogger(); | |
| 48 | 48 | loadPreferences(); | |
| 49 | 49 | } | |
@@ -52,8 +52,8 @@ public JavaMode(Base base, File folder) { | |||
| 52 | 52 | public String getTitle() { | |
| 53 | 53 | return "Java"; | |
| 54 | 54 | } | |
| 55 | - | ||
| 56 | - | ||
| 55 | + | ||
| 56 | + | ||
| 57 | 57 | // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | |
| 58 | 58 | ||
| 59 | 59 | ||
@@ -94,7 +94,7 @@ public Library getCoreLibrary() { | |||
| 94 | 94 | // try { | |
| 95 | 95 | // coreLibrary = getLibrary("processing.core"); | |
| 96 | 96 | // System.out.println("core found at " + coreLibrary.getLibraryPath()); | |
| 97 | - // } catch (SketchException e) { | ||
| 97 | + // } catch (SketchException e) { | ||
| 98 | 98 | // Base.log("Serious problem while locating processing.core", e); | |
| 99 | 99 | // } | |
| 100 | 100 | } | |
@@ -117,7 +117,7 @@ public Runner handleRun(Sketch sketch, | |||
| 117 | 117 | } | |
| 118 | 118 | } | |
| 119 | 119 | ||
| 120 | - | ||
| 120 | + | ||
| 121 | 121 | public Runner handlePresent(Sketch sketch, | |
| 122 | 122 | RunnerListener listener) throws SketchException { | |
| 123 | 123 | final JavaEditor editor = (JavaEditor)listener; | |
@@ -132,7 +132,7 @@ public Runner handlePresent(Sketch sketch, | |||
| 132 | 132 | ||
| 133 | 133 | ||
| 134 | 134 | /** Handles the standard Java "Run" or "Present" */ | |
| 135 | - public Runner handleLaunch(Sketch sketch, RunnerListener listener, | ||
| 135 | + public Runner handleLaunch(Sketch sketch, RunnerListener listener, | ||
| 136 | 136 | final boolean present) throws SketchException { | |
| 137 | 137 | JavaBuild build = new JavaBuild(sketch); | |
| 138 | 138 | String appletClassName = build.build(false); | |
@@ -236,12 +236,12 @@ public boolean handleExportApplication(Sketch sketch) throws SketchException, IO | |||
| 236 | 236 | JavaBuild build = new JavaBuild(sketch); | |
| 237 | 237 | return build.exportApplication(); | |
| 238 | 238 | } | |
| 239 | - | ||
| 240 | - | ||
| 239 | + | ||
| 240 | + | ||
| 241 | 241 | // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | |
| 242 | - | ||
| 242 | + | ||
| 243 | 243 | // Merged from ExperimentalMode | |
| 244 | - | ||
| 244 | + | ||
| 245 | 245 | ||
| 246 | 246 | void initLogger() { | |
| 247 | 247 | final boolean VERBOSE_LOGGING = true; | |
@@ -272,8 +272,8 @@ void initLogger() { | |||
| 272 | 272 | Logger.getLogger(JavaMode.class.getName()).log(Level.SEVERE, null, ex); | |
| 273 | 273 | } | |
| 274 | 274 | } | |
| 275 | - | ||
| 276 | - | ||
| 275 | + | ||
| 276 | + | ||
| 277 | 277 | //ImageIcon classIcon, fieldIcon, methodIcon, localVarIcon; | |
| 278 | 278 | ||
| 279 | 279 | // protected void loadIcons() { | |
@@ -284,7 +284,7 @@ void initLogger() { | |||
| 284 | 284 | // localVarIcon = new ImageIcon(iconPath + File.separator + "field_default_obj.png"); | |
| 285 | 285 | // } | |
| 286 | 286 | ||
| 287 | - | ||
| 287 | + | ||
| 288 | 288 | static public volatile boolean errorCheckEnabled = true; | |
| 289 | 289 | static public volatile boolean warningsEnabled = true; | |
| 290 | 290 | static public volatile boolean codeCompletionsEnabled = true; | |
@@ -380,8 +380,8 @@ public void ensurePrefsExist() { | |||
| 380 | 380 | if (Preferences.get(prefImportSuggestEnabled) == null) | |
| 381 | 381 | Preferences.setBoolean(prefImportSuggestEnabled, importSuggestEnabled); | |
| 382 | 382 | } | |
| 383 | - | ||
| 384 | - | ||
| 383 | + | ||
| 384 | + | ||
| 385 | 385 | static public void main(String[] args) { | |
| 386 | 386 | processing.app.Base.main(args); | |
| 387 | 387 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments