javafx

Using JDeveloper to develop a portlet for JavaFX project

Suppose I developed a JavaFX project using netbeans 6.8 (JavaFX SDK plugin installed), and right now I need to convert this JavaFX UI to portlet and display it in a web page. And I'm only allowed to do this using JDeveloper. So how could I achieve this? I'm using Oracle WebLogic Service as my web application server. -Regards from Isaa...

Is Oracle committed to JavaFX?

Hi everyone, I've been researching about building desktop application with JavaFX framework. Does anyone have any good or bad experience that can tell us? Is Oracle committed to JavaFX? Thanks. ...

Does JavaFX have a "native look and feel" option like Swing?

It's been a couple of years since I've done any Java work, my last efforts were using Swing. I'm poking around with a cross-platform client app that will interact with a Rails web service. JavaFX is one of the options I'm considering, but I'm concerned at the out-of-the-box aesthetic. Does JavaFX have a native look and feel option for...

How do I access a JavaFX 1.3 static class member from Java?

I want to access a static JavaFX class member from Java using the Javafx reflection API. E.g. JavaFX code: public var thing; class MyJavaFXClass { } Java code: private Object getThing() { FXClassType classType = FXContext.getInstance().findClass("mypackage.MyJavaFXClass"); // Get static member 'thing' from 'MyJavaFXClass' //...

Z-Order in javafx

How do i set z-order for VBox in JavaFX ...

JavaFX media player in mobile

Does anyone have any tutorials in playing videos in javafx applications in mobile? My codes strangely work only in desktop execution. But the official site of JavaFX says it plays in mobile phones. I used their sample code and guess what, it doesn't play on the mobile phone too. Here is the sample code I used: http://javafx.com/docs/ar...

How to play videos in JavaFX mobile

I can't seem to be able to play videos locally or over the internet on the mobile emulator and on the actual mobile phone. JavaFX Media Player wont load/display in mobile emulator. It works fine when running the application using standard execution and web execution. No exceptions and error messages outputted. What's strange about this ...

How to access local media file on my computer in JavaFX?

How to access local media file on my computer in JavaFX? Here are the urls I tried: C:/PROJECT/videos/on2tm_352.flv file:///C://PROJECT/videos/on2tm_352.flv (suggested in some site forgot where) It does play however, when I put the media file inside the project's folder and access it using {__DIR__}/on2tm_352.flv Note: There are n...

JavaFX MouseEvent continues when I remove the object it happened on

It took me a while to realize what was going on with mouse events going through my blocking dialog boxes when I closed them, but I finally figured out why. I still don't know any good way to fix it. I have a custom dialog box (that blocks the mouse) with a close button. When I click the close button, I remove the dialog box from the sce...

How to write to an XML file inside a jar file?

Hi Java programmers. I badly need your help. I have a JavaFX/Java ME application. I'm trying to modify an XML file inside my project's folder (soon to be packaged jar file). The path of the file I want to write: /parseExample/service1.xml Sadly, my application is a JavaFx/JavaME so it doesn't contain the library java.util.jar. So I c...

JavaFX to Regular Java Class Parameter Problem

My aim is to create a small javafx application that makes use of javafx forms (handled by separate java classes) for example: Login.fx (GUI) calls methods from LoginFunc.java. to handle user interactions. My problem is that I need to pass the username and password entered by the user to LoginFunc. Usually in swing applications i use a ...

i want to write a text highlighter using JavaFX

hello , i tried writing a text highlighter using in javafx where i hava textfield and textarea with contents and as and when the text is entered in the textfield the text is to highlighted , but failed , i need guidance.. thank you for all the help. ...

JavaFX onlick Transition

I'm trying to invoke a transition by clicking on one of the two buttons. It is actually working however, i can only call the transition once for some reasons. There is a rectangle I would like to move from A to B, B to A and again from A to B. function button2Action(): Void { oo.play(); } function testani1(): Void { ooo....

Is there a good MVVM/MVP/MVC framework for JavaFX?

JavaFX with it's binding seems great technology for building UI layer, replacing PHP+AJAX, but are there any frameworks for building database forms applications with JavaFX, or it is meant to write everything from scratch? ...

Does Javafx support starting your own thread?

I've wrote a simple Javafx application which starts a new thread and it works OK from Netbeans. But I'm getting following warning during compilation: explicit use of threads is not supported Does it mean that it might now work in all possible devices like mobile phones or browser? ...

JavaFX Multi Threading

I'm writing a small programm where JavaFx acts as a viewer and controler and let Java do the other hard work. I can start multiple threads from Javafx however, I'm not able to stop them. If I try to use .stop(), the threads are still running. Here is one of them: public var sleepTask_connect; function LogOutAction(): Void { sleepT...

How to change the font size in ListView in JavaFX?

I tried this suggestion http://forums.sun.com/thread.jspa?threadID=5421037 but style cannot be found. Is there any other way? Lots of thanks, cancelledout ...

How do I display information in a table format using JavaFX ?

Hello I'm currently writing a very simple JavaFX application which will hopefully display information from a database. Getting the information has been simple enough but I want to display it in a table which the user can scroll through and make a selection from. Initially looking through the JavaFX controls in Netbeans I thought the bes...

QT4 vs JavaFX. which is better?

which is better..??? qt4 of javafx..?? i work for a startup. we built the first version using javafx. now my superiors are suggesting me to shift to qt4. is it a good decision to shift..?? ...

Weird problem when adding items to JavaFX sequence

Hey guys, I here met a weird problem when adding items to JavaFX sequence, the code is as below, import javafx.scene.shape.*; import javafx.scene.Group; var seq = [Circle{}, Path{}, Rectangle{}, Ellipse{}]; var test1 = Group{}; var test2 = Group{}; function run(args : String[]) { test1.content = seq; test2.content = seq; ...