Skip to content

Instantly share code, notes, and snippets.

@monkstone
Created January 31, 2015 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkstone/94eed9eb8c2140873bca to your computer and use it in GitHub Desktop.
Save monkstone/94eed9eb8c2140873bca to your computer and use it in GitHub Desktop.
Netbeans templates for jruby_art
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE attributes PUBLIC "-//NetBeans//DTD DefaultAttributes 1.0//EN" "http://www.netbeans.org/dtds/attributes-1_0.dtd">
<attributes version="1.0">
<fileobject name="Sketch.rb">
<attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
<attr name="template" boolvalue="true"/>
</fileobject>
<fileobject name="SketchGL.rb">
<attr name="displayName" stringvalue="SketchGL.rb"/>
<attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
<attr name="template" boolvalue="true"/>
</fileobject>
</attributes>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE attributes PUBLIC "-//NetBeans//DTD DefaultAttributes 1.0//EN" "http://www.netbeans.org/dtds/attributes-1_0.dtd">
<attributes version="1.0">
<fileobject name="jruby_art">
<attr name="displayName" stringvalue="JRubyArt"/>
</fileobject>
</attributes>
require 'jruby_art'
class Sketch < Processing::App
def setup
size 200, 200
end
end
Sketch.new(title: 'Hello World')
require 'jruby_art'
class Sketch < Processing::AppGL
def setup
size 200, 200
end
end
Sketch.new(title: 'Hello World')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment