Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package eu.mihosoft.issues; | |
import codearea.control.CodeArea; | |
import javafx.application.Application; | |
import static javafx.application.Application.launch; |
package eu.mihosoft.tutorials.streams; | |
import java.util.Arrays; | |
import java.util.List; | |
import static eu.mihosoft.tutorials.streams.Item.*; | |
import java.util.Objects; | |
import java.util.function.Predicate; | |
public class Main { |
package eu.mihosoft.vworkflows.mousevents; | |
import eu.mihosoft.vrl.workflow.FlowFactory; | |
import eu.mihosoft.vrl.workflow.VFlow; | |
import eu.mihosoft.vrl.workflow.VNode; | |
import eu.mihosoft.vrl.workflow.fx.FXFlowNodeSkin; | |
import eu.mihosoft.vrl.workflow.fx.FXSkinFactory; | |
import eu.mihosoft.vrl.workflow.fx.ScalableContentPane; | |
import javafx.application.Application; | |
import javafx.scene.Scene; |
import eu.mihosoft.vrl.v3d.Cube as Cube | |
#print dyio | |
csg = Cube(20).toCSG() | |
print "Result = ",csg |
import java.util.Set; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.geometry.Orientation; | |
import javafx.geometry.Pos; | |
import javafx.scene.Node; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.ScrollBar; | |
import javafx.scene.layout.VBox; |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
// SKETCHES, DON'T USE THIS CODE! | |
package eu.mihosoft.tutorial.sketches; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.Objects; | |
import java.util.Set; |
task(run, dependsOn: 'classes', type: JavaExec) { | |
main = mainClass | |
classpath = sourceSets.main.runtimeClasspath | |
args = ['3'] | |
} |
import javafx.scene.layout.StackPane; | |
import javafx.scene.web.WebView; | |
/** | |
* A syntax highlighting code editor for JavaFX created by wrapping a | |
* CodeMirror code editor in a WebView. | |
* | |
* See http://codemirror.net for more information on using the codemirror editor. | |
*/ | |
public class CodeEditor extends StackPane { |
import javafx.application.Application; | |
import javafx.application.Platform; | |
import javafx.beans.value.ChangeListener; | |
import javafx.beans.value.ObservableValue; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Bounds; | |
import javafx.geometry.Pos; | |
import javafx.scene.Node; | |
import javafx.scene.Scene; |