javafx

JavaFX applet communicating with server

I want to write some page with JavaFX applet. I want content on the applet to be dependent on user logged in. I know I can call web services from JFX, but then what about login and session? Besides I think there might exist some better solutions for such communication than calling from applet a web service sitting on the machine applet ...

Where to obtain JavaFx Authoring tool?

Where can I get the JavaFx Authoring tool? ...

Preferred way to build gui components tree

What is the preferred way to build application gui components tree? Instantiate all components and build an entire tree, controlling it with show/hide/disable/enable operations on user events. Dynamically creating gui with create/add/remove components based on user events. I'm especially interested with this design problem in JavaFX....

JavaFX applet

How can I place JavaFX applet in a html page not using SUN's javascript? <script src="http://dl.javafx.com/1.2/dtfx.js"&gt;&lt;/script&gt; I.e. I want something like <APPLET CODE="AppletSubclass.class" ARCHIVE="file1, file2" WIDTH=anInt HEIGHT=anInt></APPLET> I tried using com.sun.javafx.runtime.adapter.Applet class in my scrip...

JavaFX applet won't work

Is anyone able to run JavaFX applets inside the web page? I am not. I also tried applet here: http://weblogs.java.net/blog/aim/archive/2009/07/bounds_unleashe.html (on the bottom) but it doesn't work for me. Tried on Ubuntu and Windows, on IE and Firefox. All I can see is endlessly spinning Java logo. What can be the problem? ...

Can javafx application display different stages on different monitors?

The idea is to have one app displaying two diferent windows (Stages) one on each monitor, the app should know how many monitors the computer has and their resolution. It is possible with javafx? ...

[JavaFx//Eclipse RCP] Good idea / Bad idea (/other ideas ?)

Hello all, I have recently been asked to make an Eclipse Rcp view that would be "pretty". In that purpose I had fist looked at Java2D (after my boss advised me so) before the client's query turned to be more like "It would be smooth if you could do some flash or something ..." From there JavaFx seemed appealing to me however I never h...

[JavaFX] AWT bridge's "Hello World"

Hi everyone, I've heard about the JavaFX->AWT bridge (or hack) for a moment now. But examples I find are quite fuzzy or blur to me. So, if anyone knows an "Hello World" example for this bridge I'd be really interested ! (Just to be clear I don't need a way to embed a Swing component in a JFX animation or to launch a JFX from a Swing b...

Javafx 2d text rendering speed up

Hello Guys, I am a little surprised that JavaFX do consume my CPU by showing simple floating text on a screen. My question is there any option tweaks to turn on hardware acceleration for nodes like Text? To Use GPU and not CPU when rendering 2D primitives? Here is the simple example that consume up to 40% cpu on my 2.53Mhz core 2 duo...

JavaFX ButtonSkin anomaly

In the following code, why isn't the button text initially displayed when ButtonSkin (from com.sun.javafx.scene.control.caspian) is used? In the following code (running WinXP, NetBeans 6.7.1, JavaFX 1.2 , JDK 1.6), when ButtonSkin is used, the button text starts as blank. After the slider is used, te button text is displayed. to I...

JavaFX: formatting Duration into String?

Is there some kind of built-in method or a simple function that will convert Duration into a string in the hh:mm:ss format? For example, I am looking for something that would convert a Duration of 123402 ms into a String of "2:03". ...

JavaFX: Embedded JavaFX applet loses width and height?

I have a JavaFX applet with the stage's initial height and width defined as such: var stage:Stage = Stage { title: "Blah" scene: Scene { height: 768 width: 1024 fill: Color.WHITE ... Additionally, I have elements laid out in the scene that are bound to the height and width for layout purposes. All works fine as...

Interactive Map viewer desktop application in Java

I want to build a desktop application - a map viewer , something like this : http://sunsite.ubc.ca/UBCMap/ in Java . Whenever someone hovers the mouse over a building on the map , there should be a balloon tool-tip saying something about that building on the map like its office phone number etc and that building should glow in the 2-d ma...

How does JavaFX cache http downloads?

Does a JavaFX applet use the browser's cache or any cache when downloading files over http://? I know it will cache the .jar files that define the application. I want to write an audio player that caches the media it downloads. ...

JavaFX Applet web-page refresh and close notifications?

Hi, How do I detect when user closes(navigates away) or refreshes web page with JavaFX applet in it. I want to do some clean up in my code on those events. Java Applet had some callback methods to do that, but how would I do it in JavaFX running in browser? Thanks, ...

Is JavaFX a replacement for Java Applets?

Is JavaFX technology for building rich internet applications (RIA) a direct replacement for Java Applets? ...

Which cell phones will have JavaFX support?

I'll have to get a new cell pretty soon since my current phone has been held together with electrical tape for over a year and a half. Since they come with a 2 year contract (unless you pay full price) I try to look into the future when I buy one, and I will probably want to do some JavaFX development on my next cell phone. This articl...

JavaFX or Swing?

Hello, i just wanted your input on something with regards to java. Would it be good to use javafx for my user interface, or would sticking to swing be easier or more convenient? I'm still a student by the way, so i'm not really thinking in terms of the enterprise yet. ...

How to debug JavaFX

Hi all, I've just started working with javafx, it seems cool and NetBeans seems much more fun than Eclipse but I find it impossible to debug my application. I've added breakpoints, and I pressed the debug button, I see the debugger is registered to some port but it doesn't cause the application to start. When I run the application and ...

Anchor point of x,y in JavaFX nodes

Some sprite applications (namely pulpcore) allows you to define an anchor point for an object. For example if the anchor point of a rectangle is 0,0 and it's coordinates are x:0,y:0 the top left point of the rectangle would be displayed on the top left point of the screen. If however the anchor point of the rectangle is 50,50 and it's ...