Giter Club home page Giter Club logo

ceylonfx-proposal's Introduction

#CeylonFX

CeylonFX is a Ceylon interface for JavaFX.

It is currently under active development. Please contact me if you would like to contribute!

Here's a quick example of what code written with CeylonFX looks like (this example already works):

CeylonFX {
	args = process.arguments;
	Stage {
		title = "CeylonFX Demo Application";
		Scene {
			fill = black;
			dimension = [600.0, 150.0];
			VBox {
				spacing = 20;
				insets = Insets { top = 15.0; };
				minimumSize = [600.0, 0.0];
				alignment = center;
				Text {
					text = "Welcome to CeylonFX";
					underline = true;
					font = font("Arial", 48.0);
					fill = LinearGradient { [0.0, blue], [0.75, cyan], [1.0, white] };
				},
				Text {
					text = "Under construction...";
					font = font("Arial", 12.0);
					fill = white;
				}   
			}
		};
	};
};

See more here!

Getting started

Let Ceylon know about JavaFX

Before you can use CeylonFX, you need to make JavaFX available to Ceylon. To do that, simply download the zip file containing the JavaFX jar conveniently wrapped in a Ceylon repo format, then extract the files into your {user.home}/.ceylon/repo/ folder.

I hope it's ok for me to distribute the JavaFX jar in such way because anyway, JavaFX is mostly open-source and the jar can be downloaded for free (please let me know if you think I can't do this legally and I will remove it immediately).

Importing the CeylonFX module

Unfortunately, for now you will have to clone this project using git and install it in your local machine with Ceylon tools.

However, once we have something that is more or less complete, we will try to make this project available from Ceylon Herd.

You can then add this declaration to your Ceylon module:

import ceylonfx "2.2.0"

ceylonfx-proposal's People

Contributors

renatoathaydes avatar djeang avatar gavinking avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.