Skip to content

Simple tricks to make easy to develop apps using Jython + JavaFX

License

Notifications You must be signed in to change notification settings

Jeremi360/jythonfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JythonFX

PL: Info na temat instalacji i tutorial po polsku zajdziecie tu

ENG: Simple tricks to make easy to develop apps using Jython + JavaFX.

Samples:

  • Simple onebutton app (HelloJyFx.py)
  • Simple FXML app(FXMLSample.py, FXMLSample.fxml)

Done:

  • Application class(application.Application)
  • EventHandler class(event.EventHandler)
  • FXML Files Loader(fxml.FXMLLoader) with support for Tabs
  • Tool to fix user jython path and abort to run app on older than 7 Java(fix.getJavaFX)
  • Temples

TODO:

  • Sample for FXML with Tabs
  • Recreate some of Gtk 3.12 widgets
  • Recreate some Grabbo widgets
  • Class & Sample for make Animation easy

Files included:

  • samples - samples with commentary
  • Templates - file temples for Eclipse IDE

Required:

How install:

  1. Add java_home/jre/lib/jfxrt.jar to your jython path(only Java 7u*)

  2. Copy jythonfx directory to jython_directory/Lib/site-packages

Install Templates:

  1. In Eclipse IDE open Window -> Preferences -> PyDev -> Editor -> Templates

  2. Click on Import, browse to JythonFX/Templates choose template