Questions tagged [javafx-1]

JavaFX is a set of graphics and media packages for Java which aim to develop rich client applications that operate consistently across diverse platforms. JavaFX 1.x used a statically typed, declarative language called JavaFX Script to build applications. With JavaFX 2 JavaFX Script has been dropped by Oracle.

JavaFX is a set of graphics and media packages for Java which aim to develop rich client applications that operate consistently across diverse platforms.

JavaFX 1.x used a statically typed, declarative language called JavaFX Script to build applications. With JavaFX 2 JavaFX Script has been dropped by Oracle, but development has been continued in the Visage project.

Related tag

27 questions
22
votes
3 answers

Right click in JavaFX?

How do I detect/handle a right click in JavaFX?
mikewilliamson
  • 24,303
  • 17
  • 59
  • 90
15
votes
8 answers

To JavaFX [1.3] or not?

We are starting a new Desktop application and considering using javafx but we are a bit confused given the recent announcement by oracle that javafx scripting is not going to be developed further. Since we cannot wait for javafx 2.0, is it a good…
gcameo
  • 275
  • 1
  • 3
  • 6
3
votes
2 answers

JavaFX Scripts do not seem to work on other computers

When I bring my app to another computer the two buttons that should either open a file browser, or take in a file path to open a file both don't work. I don't understand why. It works perfectly fine if I compile it within Netbeans. package…
Manuel Zubieta
  • 582
  • 1
  • 6
  • 13
3
votes
6 answers

JavaFX Script and Java

Simple question: Can I mix in my desktop application Java and JavaFX Script code? If it is possible could you provide me with some link with examples? Or could I pack my custom made javafx CustomNode-s in a jar and use them in my project side by…
tropikalista
  • 1,629
  • 3
  • 19
  • 35
3
votes
1 answer

JavaFX Script and Visage, equivalent?

Is writing code for JavaFX 2.0 using Visage essentially the same as if you were able to code in JavaFX Script? I am interested in learning Visage, because I have been told that is the same as the JavaFX 1.3 scripting language so that it's basically…
Marc H
  • 1,228
  • 3
  • 18
  • 29
2
votes
3 answers

JavaFX 1: bind, and var access modifiers

var width = 400; var height = 400; Stage { style: StageStyle.TRANSPARENT onClose: function():Void { System.exit(0); } scene: Scene { content: Scribble {} width: width height: bind height …
Louis Sayers
  • 2,162
  • 3
  • 30
  • 53
2
votes
1 answer

How transferable is JavaFX 1.3 knowledge to JavaFX 2.0?

I'm embarking on a project to develop a desktop application but my expertise have been in the web application development realm. I was about to refresh my knowledge on Swing programming when I learned on JavaFX which seems to be a much better…
2
votes
1 answer

JavaFX Script for server side applications

Has anybody tried to use JavaFX Script in server side applications? The language itself looks quite nice and modern, and is fully Java compatible. If Sun is serious about it, it could be quite ubiquitus on the server side too, where Java is…
Marko
  • 30,263
  • 18
  • 74
  • 108
2
votes
1 answer

Bad class file error when using Scala 2.8.x (2.8.0 and 2.8.1) in Javafx 1.x (1.2 and 1.3.1)

When trying to import scala.Option in a javafx script, I get the following javafxc error: cannot access scala.Option.$anonfun$orNull$1 bad class file: scala/Option$$anonfun$orNull$1.class(scala:Option$$anonfun$orNull$1.class) undeclared type…
Andrei Oprisan
  • 408
  • 3
  • 10
1
vote
1 answer

Run legacy JavaFX 1.3 program on Java 8

Does anyone know of a way to run a legacy program written in JavaFX 1.3 script language in a current Java 8 runtime? My guess is there are "simply" some class name conflicts now that JavaFX is included in the JRE. My program gives up with one of the…
kmc
  • 11
  • 3
1
vote
1 answer

JavaFX: JNLP file error

I'm getting the following error when I upload a JavaFX app to a website, but I don't get it locally. I'm presuming that I'm missing something like the 'codebase' tag, but I'm not sure where it goes, can anyone help me out please? Java Console…
jeff porter
  • 6,560
  • 13
  • 65
  • 123
1
vote
1 answer

Invalid Memory Acess for JavaFX ScrollBar on Snow-Leopard

I created the following JavaFX script, which when run, generates an Invalid memory access on Snow-Leopard. What is it about javafx.scene.control.ScrollBar that is causing a memory failure? Stage { title: "Scroll View" scene: Scene { …
Mike Caron
  • 5,674
  • 4
  • 48
  • 71
1
vote
1 answer

Emacs JavaFX Script mode?

Does a GNU Emacs major mode for editing JavaFX Script (JavaFX 1.x) files exist?
Greg Mattes
  • 33,090
  • 15
  • 73
  • 105
1
vote
1 answer

Are there code examples comparing Scala and JavaFX Script?

I am studying JavaFX Script and trying to compare it to Scala, which is another very interesting new language for the Java platform. In the official Scala site I found this example, which is a Quick Sort implementation. I then wrote the following…
Rogério
  • 16,171
  • 2
  • 50
  • 63
1
vote
1 answer

Programming a delay in javafx script, is this possible?

Ok, so i have a problem with javafx, the netbeans 6.9.1 version that is (i know it's a bit old but i have to do this for a final assignement for school). So for the assignement i have to code a memory game (concentration). Now i want to program a…
TomK
  • 47
  • 6
1
2