Skip to content

daveray/upshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Upshot

WARNING: THIS IS NOT MERELY EXPERIMENTAL. IT IS REALLY MOST SINCERELY EXPERIMENTAL!

A Seesaw style Clojure API for JavaFX.

Usage

JavaFX isn't in Maven and, as a special bonus, has native deps. So, you'll need to unpack the JavaFX distribution somewhere and then do some setup whenever you play with Upshot:

export JAVAFX_HOME="/Users/dave/Apps/javafx-sdk2.1.0-beta"
source javafx.env.sh

# do this only once. It installs JavaFX in your local maven repo.
./setup.sh
lein deps

# Now run the example (test/upshot/test/examples/example.clj)
lein run -m upshot.test.examples.example

Theading Note: JavaFX is much pickier than Swing about code executing correctly on the JavaFX thread. So, most interactions at the REPL should be wrapped in the (upshot.core/run-now) macro.

Running the Tests

I'm giving Midje a try:

lein midje

License

Copyright (C) 2012 Dave Ray

Distributed under the Eclipse Public License, the same as Clojure.

About

Clojure JavaFX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published