Hi. I'm playing around with javafx and I have modified the code of the MediaPleyer demo trying to reproduce a wav file. It doesn't work.
/*
* Copyright (c) 2009, SUN Microsystems, Inc.
* All rights reserved.
*/
package javafx.tools.fxd.demos.mediaplayer;
import javafx.scene.*;
import javafx.scene.media.*;
import javafx.stage.*;
va...
How can I get the actual position of a node in the scene. The absolute position, regardless of any containers/transforms.
For example, I want to translate a certain node a so that it would temporarily overlap another node b. So I wish to set his translateX property to b.globalX-a.globalX.
The documentation says:
Defines the X coord...
Did anyone here a real company using JavaFX for real life applications?
I did a shallow search about JavaFX usage, and found almost no heavy usage case.
Anyone knows companies which actually using JavaFX? I'm really afraid that JavaFX (which is being currently the only somewhat opensource RIA platform) will not survive.
Update this que...
hi all,
I am new to this term JavaFX script, just want to know more on the use of JavaFX scripts.
thanks you.
...
I've generated a barely minimal JavaFX (1.2) app, using Netbeans 6.7.1.
Now I have come to put the app on a) an emulator b) a device.
I can't seem to find anywhere in the tooling which will help me do either.
what am I missing/doing wrong
any thoughts on a very easy handset to get up and running?
...
Has anyone built application to compare the performances of them?
(performances like speed, different between GUI etc.)
If no, Can anyone recommend me which function (in each of them) should I use to compare them?
Thanks
...
I've written a JavaFX application that uses Java Web Start. For some reason, the window title is always "Java" (on Linux) or blank (on Windows). However, the desktop icon has the correct application title and image.
From what I've found so far, the important bit here is the information > title element in the JNLP file.
What am I mis...
When changing the content of an HBox in a Tile, the Tile elements gets sorted as if it has only two columns. For example, running the following script and clicking the button would display the objects tiled in 2 columns, instead of four:
var grid = AnimGrid {
columns: 4
content: for (i in [1..10])
HBox{content:[Text {content...
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 equivalent JavaFX Script program (using NetBeans IDE 6.7.1):
package examples;
function s...
I'm trying to make a scroll button using a ImageView that should scroll some images while it's pressed. I tried to do it with the primaryButtonDown property of the MouseEvent, but it freezes the application:
ivbutton.onMousePressed = function (e) {
while (e.primaryButtonDown){
//Scroll Stuff
}
Do you know a way to cre...
I am new to both the technologies.Which scenarios is better for using Adobe Flex , and which is the best place to use Java Fx?
...
How is the bind operator implemented in JavaFX? What happens behind the scenes? Does every variable in JavaFX implement some kind of observer API so that listeners can attach to it or is it a trick in the VM?
...
I am reviewing currently a medium size code base (around 30K LOC) which uses a huge Applet and interfaces with other systems.
It's a tool to create custom labels, so we need drag-n-drop and other related UI components.
To which technogly will you migrate given the code base is in Java.
Applet -- No
Java FX -- Adoption rate is too low...
I am working on a game in JavaFX and I'm sending people the compiled game once in a while for them to try out. As I'm still in the middle of developing it, I have several pieces of code intended solely for developing/debugging.
One example is a gamespeed slider that is of great use for me while testing, but it is VERY buggy and can onl...
Greetings,
I have read that QuickTime for Java is esentially broken on both Windows 7 and Snow Leopard. I can't tell how broken -- doesn't seem broken, but could just be my setup. I'm trying to determine whether this is a good technology stack, or if I should look elsewhere.
Objective: I want to build a specialized desktop video playe...
I am making a game in JavaFX and have implemented a slider for controlling the game speed. I have a simple slider (javafx.scene.control.Slider) and I'm binding the time attribute for the gameloop to the value I get from the slider.
The slider only really works when increasing the gamespeed. If i decrease it, the gameUpdate() will stop ...
Is it possible to simplify / clean up svg code by replacing the use-tags with standard svg elements? Maybe an inkscape plugin? Haven't found anything...
Background: I'm converting some svgs to javafx graphics (.fxz) with javafx's production suite. And the tool doesn't understand the <use> element.
...
My company have a web application product for distribution planning and scheduling. An important part of it is a gantt chart component where user can fine tune the schedules. Currently the gantt chart component is pure javascript+dhtml.
I am currently looking into the possibility of moving to JavaFX to get richer interactivity and gener...
Using JavaFX 1.2 I am trying to get custom icons on my app and they are being totally ignored.
Am I doing something wrong or is it a bug?
Stage {
title: "My App"
width: 1024
height: 768
scene: bind current_scene
iconified:true;
icons:[
Image { url: "{__DIR__}res/icon16x16.png" },
Image { url: "{__DIR__}res/icon32x32.png" },
...
I know there is already a question about the performance of Flex, JavaFX, and Silverlight. My question is a bit more broad:
We are evaluating the merits of JavaFX and Silverlight to serve as the GUI technology that controls/configures our back-end service (currently written in Java). The service and GUI are usually on the same machine, ...