This HTML5 document contains 4 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
n3http://dbkwik.webdatacommons.org/ontology/
n6http://dbkwik.webdatacommons.org/resource/uAbK6RkFDyNpwOArQswYqQ==
rdfshttp://www.w3.org/2000/01/rdf-schema#
n2http://dbkwik.webdatacommons.org/resource/ggeucugl0RgnkLcryTWisA==
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
xsdhhttp://www.w3.org/2001/XMLSchema#
Subject Item
n2:
rdfs:label
Image Viewer Example
rdfs:comment
This is a simple example of an image viewer that works in JFXPad. import javafx.ui.canvas.*; import javafx.ui.*; import javax.swing.JFileChooser; import javax.swing.filechooser.FileNameExtensionFilter; class ImageLoadNode extends CompositeNode { attribute url: String; } function ImageLoadNode.composeNode() = Group { content: [View { content: Button { cursor: DEFAULT text: "Browse" action: operation() { var fc = new JFileChooser(); var filter = new FileNameExtensionFilter("Images", ["jpg", "gif", "png"]); fc.setFileFilter(filter); var returnVal = fc.showOpenDialog(null); if(returnVal == JFileChooser.APPROVE_OPTION) { url = fc.getSelectedFile().toURL().toString(); } } } }, View { transform: translate(68, 2) content: TextField { columns: 30 value: bind url } }, ImageView { transform: translat
dcterms:subject
n6:
n3:abstract
This is a simple example of an image viewer that works in JFXPad. import javafx.ui.canvas.*; import javafx.ui.*; import javax.swing.JFileChooser; import javax.swing.filechooser.FileNameExtensionFilter; class ImageLoadNode extends CompositeNode { attribute url: String; } function ImageLoadNode.composeNode() = Group { content: [View { content: Button { cursor: DEFAULT text: "Browse" action: operation() { var fc = new JFileChooser(); var filter = new FileNameExtensionFilter("Images", ["jpg", "gif", "png"]); fc.setFileFilter(filter); var returnVal = fc.showOpenDialog(null); if(returnVal == JFileChooser.APPROVE_OPTION) { url = fc.getSelectedFile().toURL().toString(); } } } }, View { transform: translate(68, 2) content: TextField { columns: 30 value: bind url } }, ImageView { transform: translate(0, 25) image: Image { url: bind url } }] }; Canvas { content: ImageLoadNode { url: "http://blogs.sun.com/chrisoliver/resource/tesla.PNG" } }