Skip to content

fantom-lang/fwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fantom Window Toolkit

Pods related to Fantom's original UI toolkit based on SWT and the Flux text editor.

SWT

In order to build and run the FWT, you must install the SWT jar file for your platform into your Fantom lib/java/{platform} environment:

  1. Download your platform's "swt.jar" from eclipse.org/swt
  2. Put "swt.jar" into {home}/lib/java/ext/swt.jar

You can easily test SWT support by attempting to run flux via 'fan flux'.

Note that common SWT jars for Windows, Mac OS, and Linux are checked into this repo under lib/java/ext/, but must be copied into your Fantom home lib/java/ext directory.

Mac OS

In order to run on Mac OS, you must uncomment this line bin/fanlaunch:

osFlags="-XstartOnFirstThread"

If not, you will get this error:

***WARNING: Display must be created on main thread due to Cocoa restrictions.

About

Fantom Window Toolkit (based on SWT)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published