javafx

How to create a custom loading screen in JavaFX?

I'd like to create a custom loading screen for a JavaFX application. Don't want the user to see the Java coffee cup icon, I want to put my own graphic there! I've found out how to provide a static image, or even an animated GIF, but I'm more interested in a Flash-like screen where I can specify what the state of the image looks like at...

Will web applications replace desktop applications?

Will everything go to the cloud? If so, in which direction? Google-Gears? Flash,AIR,JavaFX? See also: Does desktop development matter? ...

JavaFXSCript 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 strong. What do you think? ...

JavaFX is now out: Are Applets and Java Desktop officially dead/dying?

JavaFX is now out, and there are promises that Swing will improve along with JavaFX. Gone will be the days of ugly default UI, and at long last we can create engaging applications that are comparable to Flash, Air, and Silverlight in terms of quality. Will this mean that Java Applets that hail from 1990's are dead and not worth going b...

javafx and javadoc

I have generally been underwhelmed by JavaFX, but at least their API documentation is a big improvement over javadoc which has not gone through any substantial improvement in a decade. Is it possible to use JavaFX technology to generate more attractive javadoc for regular Java files? ...

Update JavaFX window from a java based object

Hello, I am in the process of learning JavaFX and I am looking for a tutorial about updating a JavaFX display with a java object. For example, receive status updates @ 1hz from a server and display them on the fx window. Is this possible? If so, are there any tutorials? Thanks in advance. ...

Making JavaFX compile to Java 1.6 level source code

How do I make JavaFX with netbeans compile my code to 1.6 level compliance. At the moment it seems to be hard coded to 1.5 levels - stopping me from using useful tools in java.awt.Desktop (and the like) ...

What's all this business about Flash, Flex, Adobe Air, Java FX and Silverlight?

What's all this business about Flash, Flex, Adobe Air, Java FX and Silverlight? Why would I choose one over the other? and what happened to Java Applets and ActiveX controls? Oh, and where does AJAX fit in to all this? and is Laszlo relevant? Afteredit (in response to some "d'uh" type answers): the question is a bit tongue-in-cheek. I ...

How can jFrames be used inside of JavaFX?

I just saw a article on swing being used in JavaFX. How can an application that uses a jFrame to display graphics be ported into JavaFX? Also, will the jButtons and jSliders work in the normal manner? I know this is a generic question but I know little of JavaFX and am curious about porting some desktop applications to the web via th...

JMF+JavaFx layout problem

I can creat a GUI in javafx and call the JMF component within JavaFx, just like this public class JMFComponent extends SwingComponent{ var panel: JPanel; public var center: java.awt.Component on replace{ println("[center] set component: {center}"); panel.add(center, BorderLayout.CENTER); } public ove...

JavaFX in the wild?

Does anybody know of any real-world web applications based on JavaFX? I'm an experienced Java programmer considering starting a website while I'm not at my day job. I don't have a lot of expertise on the UI side, so I'm looking for the best way to leverage my existing skills to create something that can provide an awesome RIA experienc...

Build JavaFX project without NetBeans

I'm trying to learn JavaFX and maybe create a few "learner" games. I always do my development in Eclipse, rather than NetBeans which the JavaFX team is clearly trying to push. Can anybody point me in the direction of a how-to for building a JavaFX project in Eclipse, or at least building a JavaFX project without NetBeans? Everything I'v...

Why do we need JavaFX though we have Swing?

Swing is good in many ways, then why do we need JavaFX? ...

Force immediate paint in JavaFX

Is there a way to force a JavaFX app to repaint itself before proceeding? Similar to a Swing Panel's paint(Graphic g) method (I might be getting the keywords wrong there). Consider the following example: you write a TicTacToe app along with the AI required for a computer player. You would like the ability to show two computer players du...

JavaFX won't load on my webpage

I realize this is a very vague question, so I'm not looking for specifics, just suggestions... I wrote a JavaFX application in NetBeans, which automagically builds it into a jar, jnlp, and html page. After uploading these files onto my webserver, I can navigate to the page and everything works, on the computer I developed it on. On any ...

What are your feelings on JavaFX?

I currently do a lot of work in ActionScript 3.0, I also love to program in Java. Is JavaFX perfect for me? What is the general feeling on JavaFX, will it become a power house, or go down the same path as Java Applets? Could the designers I work with become comfortable with JavaFX to the same extent they are comfortable with ActionScript...

Should I learn Swing before learning JavaFx ?

Does it make sense to start learning JavaFx if I do not have any background in UI programming? Is it more advisable to learn Swing first and then move on to JavaFx ? I tried the getting started tutorial on JavaFx website in Netbeans and the code looked extremely complicated to me. I am wondering if JavaFx is too advanced for a beginnner...

using Swing components in javafx if they're not in the NetBeans javafx palette

I'm just getting started with javafx in NetBeans, and I have it doing simple stuff (windows with buttons + the like) but would like to try something slightly more realistic. The "Swing/AWT Components" palette has a whole bunch of stuff that the "JavaFX Script Code Clips" palette does not (it has Button, CheckBox, ComboBox, ComboBoxItem,...

Running a JavaFX program within a web page, not launching a new window

I've seen lots of examples of JavaFX in my reading, but every JavaFX app I've seen need to be launched in a separate window. The apps don't run within a web page. Can JavaFX applications be run within a web page, just like we would expect a Flash app (or, for that matter, an applet) to run? Is there a reason why people aren't letting...

How to get RGB valuees of a pixel in JavaFX

I am getting started with JavaFX and basically what I am trying to implement is a Color Picker. At first, I thought of having a rectangle with a LinearGradient that goes through all primary/secondary colors. Looks like what I want, but the problem is that I can not get the RGB values at a given coordinate(x,y) in this Node. I know you c...