javafx

Apache Pivot 1.4 vs. JavaFX, Flex, Silverlight, Swing

I've recently heard about Apache Pivot being moved to the Top Level Projects category and I was wondering who has tried the most recent version and compared it to other RIA tools. What are the proper categories for comparison? It seems to be easier to pick up for Java developers since JavaFX has a different scripting language. The Pi...

Which JFXtras Grid to use XGrid or Grid?

I've seen in JFXtras 0.5 a Grid layout, org.jfxtras.scene.layout.Grid. But when I try to get examples on the web, there's only XGrid. What's the difference? Is one out-dated? ...

Calling an object from another class (java, javafx)

I'm already working on this for weeks to get it working but without success. I'm using Javafx and java for implementing a small chat programm using the smack API (xmpp). The problem is how to get the received messages from java to javafx. The code below is actualy working when I have variable with a static string like "test message" and ...

How to convert MigLayouts to XGrid?

How would one code the following using XGrid from JFXtras6? Stage { title: "Mig Centering Test" scene: Scene { width: 200 height: 200 fill: Color.PINK content: MigLayout { fitParent: true layout: "fill" migContent: MigNode { constraints: "center" node: Rectangle { width: 1...

How integrate JavaFX with Mozswing ?

Hi. I'm not able to integrate JavaFX with Mozswing. Simply nothing happened. XULRunner is already configured, it also shows the log at the time of execution. Below is an example of how i am implementing the javafx.ext.swing.SwingComponent, such .fx file: public class SwingBrowserComponent extends SwingComponent { public var mozill...

Javafx usability and future

When I tried Javafx, the resulting application was extremely slow. My conclusion is that Javafx has no future and that sun of oracle should dump it. I am thinking this way because I have used openlaszlo frequently and performance of javafx vs openlaszlo swf on the same machine is poor and beaten flat by openlaszlo swf. I also observe t...

JavaFX: Appending line to path as animation

Hi, I am trying to create an animated chart which grows to the right as new data is added. I'm using a path for plotting the variables (JavaFX LineChart seems too slow), attempting to plot a new variable every 500ms by appending a new LineTo to the set of path elements. I have reduced the problem down to the following sample code. Could...

Converting javafx.util.Properties to a HashMap

Hello, I was wondering if there is an easy way to convert the javafx.util.Properties object to a java.util.HashMap. There is the obvious way of getting each value from the Properties object and putting it in a Map. But with a large number of properties it seems like there should be a way of just getting the Map that backs javafx.util.P...

Is it good to learn JavaFx for a program developer in struts frame work

I must know JavaFx is usefull for designers ... or Developer's part is also needed for JavaFx. ...

Several small questions considering the JavaFX Script programming language

Which are the min/max values I can pass to an Integer/Number? Does Integer use java.lang.Integer internally? And what if the variable overflows? Does it automatically expand java.lang.Long? In an article I read the def keyword is the equivalent of marking a variable as final in Java but to me, it looks like it's more like const in C. D...

Javafx - Clipview to a Group?

Can I apply clipview to a vertical expanding Group? Time to time I'm appending text to a group and want to use scrollbar to navigate in that group. The scrollbar part is working when I assign it to the group itself but want to limit the size of the group by using clipview. Anyone having experience in this? ...

Can you bundle a JavaFX jar as an OS X application?

I'm looking for a way to bundle JavaFX applications similarly to the way I can bundle Java applications using Jar Bundler? I really would like to have a custom icon for my program(and the ability to pin it to the Dock). Is there a way to do this now, or do I have to wait for JavaFX to mature in the Java market? ...

javafx applet javascrit and max os x

hi i'm writing a javafx applet. in the page i use javascript function to change some applet properties. when i try this applet on windows or solaris or linux it works fine. when i open the same page on mac os x it diplay an error message live app.script not found. any ideas? ...

Combining JavaFX and Scala - is it possible?

Is it possible to use them in conjunction? It would be nice to write the GUI in JavaFX and define the business logic in Scala. Any ideas? ...

CSS styles are not applied to elements added to JavaFX component tree

I have applied CSS style to JavaFX components and it looks like everything is working fine except one situation: when I add JavaFX components to component tree on-the-fly their CSS styles are not applied. For example following code: package test; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.shape.Rectangle...

JavaFX and embedded applications

I have just started digging into JavaFX and have a requirement that I am not sure if I can fulfill with JavaFX. Does anyone know if JavaFX supports embedding another application (non-java, in this case a microsoft app) in a panel? I don't (at this time) have a requirement to control anything on that application, just have it run in that...

JavaFX - good or not? I need docking in it.

Hello, I have just explore javaFX. I am now programming modul based application by netBeans platform. I have minimal UI now, but I am going to do quite complex GUI. Is javaFX good for me? And if yes, how I can implement docking in main window? (i think about usage of JFX becouse I want good looking app) ...

Which technology is best to develop web2.0? Flex,JavaFX and html5

I would like to know the html5 has the complete feature to develop the web2.0 and i want to know from these technology like flex, javafx and html5 which one will be the best to develop the web2.0? ...

JavaFX: concatenating sequences

Is there a standard library function or built-in construct to concatenate two sequences in JavaFX? Here a Sequences.concatenate() function is mentioned, but it is nowhere to be seen in the official API. Of course one could iterate over each sequence, inserting the values into a new sequence e.g: function concatenate(seqA: Object[], se...

What does a mobile need to be able to run JavaFX?

What exactly does a mobile need to be able to run JavaFX? Can it run on any mobile that supports specific JSRs or does it have to be installed by the manufacturer? Links What platforms JavaFX is/will be supported on? - Doesn't go into any detail about specific mobile platforms JavaFX/Mobile Devices - This question (February 2009) says...