- Articles
120 results
-
Scribble
See this thread in the mailing lists. Scribble is a simple path editor -- click on the canvas, and paths following mouse drags are converted into Polyline objects. Makes use of the SQL-like array insert -
Centering Text
On the mailing list was a discussion of how to center text in nodes. import javafx.ui.*; import javafx.ui.canvas.*; var contentText= "Sardegna";//very nice island, go there once;-) var myFont= Font{face: VERDANA -
Custom Widgets and Nodes
JavaFX Widgets Widget Name Preview Source Sweet Boxes OpenJFX Mailing List Netbeans-style Frames OpenJFX Mailing List Bordered Wrapping Label OpenJFX Mailing List Editable Label Chaotic Java Blog Sweet Button Thomas Galvin RolloverGrid Preview (click -
Architecture of the Compiler
The OpenJFX compiler operates in two passes: the front-end and the back-end. The front-end parses the OpenJFX source code, processes it as an FX AST, and finally generates a standard Java AST -
Articles
News[] "JavaFX Goes Mobile with Support From Some of the Biggest Players In the Industry", 12-Feb-2009 -- Sun Microsystems, Inc. (NASDAQ: JAVA) today announced the availability of the JavaFX Mobile platform. Review[] Peter Wayner -
OpenJFX Compiler
The OpenJFX Compiler is an open-source discussion wiki for the new OpenJFX Compiler incubator project, which is part of the new JavaFX scripting platform. Development of a static compiler for the JavaFX scripting language -
Tuples and Maps
This is a proposal that builds on Tuples_and_Arrays, and works well with Patterns. A map is a finite function from a key to a value, with an enumerable domain. Map is a base -
Sequences
The pros and cons of sequences (as in the JavaFX interpreter now) vs immutable arrays were discussed: No consensus. No strong opinions. -
Embeded SQL or LINQ support
To support embeded SQL operation or LINQ feature maybe very interesting and make JavaFX a first selection for enterprise application. Following is some of the ideas. 1. Automated generate ORM classes@SQLEntityGenerator("users") class User{} -
Sequences are Tuples
This is an alternative to the Tuples_and_Arrays proposal, though they share some ideas and features. A sequence is an ordered list of items. Sequences are flat: they do not nest. A sequences with -
Updating Java Objects From JavaFX Script
The following code example will show you how to update a Java object from a JavaFX script. DataObject.java: package fxexamples; public class DataObject{ private String name; private String address; private String phone; private boolean -
BrianListProposal
A List is an ordered sequence of values, of any length. List is a parameterized type; the elements of a ListT must be of type T. Lists may be empty. List-valued variables whose value -
Static Typing and Type Inference
The consensus is that the sweet-spot is to use type-inferencing to determine type for entities local to the compilation unit and to require explicit type declaration on entities exported outside the compilation unit -
Popup
This is simple example of a button using javafx.ui.PopupMenu by Christopher Oliver, 22-May-2007, openjfx users ML that works in JFXPad. import javafx.ui.*; import javafx.ui.canvas.*; Button{ text: "Click Popup -
Simple Internal Frame Example
This is example of an internal frame. (Old code does not work in JavaFX 1.3) import javafx.ui.*; import javafx.ui.canvas.*; import javafx.ui.filter.*; import java.lang.Math; -
Particle System Demo
Here are some screenshots from a JFX demo of a simple 2D particle system. Since I'm not interested in deployment issues, there is no WebStart link (yet). Download the source code and run the -
Ajax-style calls
Source: OpenJFX Users mailing list. The following JavaFX code shows how AJAX-like behavior can be performed. The GUI remains responsive while the URL-fetch is performed. import javafx.ui.*; import javafx.ui.canvas.*; import -
Syntax changes
In the interpreter, the class includes only the member declarations, not their definitions; in the compiler, these are defined inside the class, just as in Java. Attribute change triggers have been moved into the class -
Numeric Types
In attendance: Joe Darcy, Lubo, Brian, Per, and Robert. Back to OpenJFX Compiler -
Assert
This is a simple example about using asserts by Christopher Oliver, 24-May-2007 on Orangevolt that works in JFXPad. To do something with an assertion you use "assert" triggers: trigger on not assert assertion -
Maps and Sequences
Maps are useful and powerful in a programming language and other scripting languages in this space provide them. Sequences which are already in JavaFX are simply a special case of maps. The consensus is that -
Object Initialization (class side)
Constructors are have no arguments and are implicitly (never explicitly) called. Note that: class definitions may be in a separate compilation unit from the object literal, so an object literal cannot set attribute initializers -- this -
Interviews
Sun Microsystems Interviews[] "Java Posse#230 - JavaFX Interview from Devoxx 08", 10-Feb-2009 -- A JavaFX interview conducted at Devoxx 2008 with Josh Marinacci, Jasper Potts, Richard Bair and Martin Brehovsky about the JavaFX release -
Binding to a POJO
At this time, JavaFX variables bound to a pure-Java object (POJO) will not automatically update as they should. This article describes one or more ways to get two-way binding working. Original Thread I -
Video Example
It is a compiler version of Enabling Video Files in JavaFX Applications example. The sample requires Java Media Framework (JMF) library. import javafx.ui.*; import javafx.ui.canvas.*; import javafx.ui.animation.*; import java.net
Related Community

Terraria Wiki
games
4K
Pages20K
Images1
Video
The Official Terraria Wiki is a comprehensive resource containing information about all versions of Re-Logic's action-adventure sandbox game, Terraria.