javafx

JavaFX video encoding

On JavaFX's Wikipedia In May 2008 (...) Sun Also announced a multi-year agreement with On2 Technologies to bring comprehensive video capabilities to the JavaFX product family using the company's TrueMotion Video codec. Do you know if it will include encoding capabilities for webcam video like Flash or just playback/stre...

What platforms JavaFX is/will be supported on?

I have read about JavaFX, and like all new technologies I wanted to get my hands "dirty" with it. However, although it talks of multiplatform support, I can't find specifics on this. What platforms support a JavaFX application? All those with Java SE? ME? Does it depend upon the APIs in JavaFX that I use? ...

Best Resources for Learning JavaFX?

For those of us learning JavaFX, what are the best resources you've found so far? (One of the difficulties in finding good JavaFX resources is that things written before July 2008 are often no longer valid because of changes made to beta version of the language) I've found: James Weaver's JavaFX Blog JavaFX in Action by Manning Pres...

Anyone use xui? JavaFX?

Warning: Java newbie. Been looking at XUI for Java. Its looks quite interesting. Sort of liek a WPF way of designing interfaces. But googling around I don't see much other than articles saying it had been released. So is it used much or a bit niche? Are there other similar frameworks for Java? Was looking at JavaFX but seems to be a g...

Java-FX compilation error

Im using Java-FX pre-release SDK, and Im getting a compilation error: D:\...\src\javafxapplicationmousetest\Main.fx:38: cannot find symbol symbol : method get$nodesList() location: interface javafxapplicationmousetest.Main$Intf var nodesList:Node[] = [ 1 error BUILD FAILED (total time: 0 seconds) var nodesList:Node[] = [ Rectangl...

Emacs JavaFX Script mode?

Does such a major mode exist? ...

Triangle mathematics for game development

I'm trying to make a triangle (isosceles triangle) to move around the screen and at the same time slightly rotate it when a user presses a directional key (like right or left). I would like the nose (top point) of the triangle to lead the triangle at all times. (Like that old asteroids game). My problem is with the maths behind this. A...

javafx on client side

Do the clients need something else than a proper jdk and javafx compliant browser to visit javafx applets? ...

Good RSS news feed for JavaFx news and resources

...Yes I've seen: http://stackoverflow.com/questions/116519/best-resources-for-learning-javafx but it doesn't really answer the question. Maybe there just aren't any good resources at the moment? UPDATE: http://developers.sun.com/rss/javafx.xml is OK ...

Will JavaFX work on Android?

It would be a shame if it doesn't, because it will make for more attractive looking Android applications. ...

How to play sound in JavaFX?

I'm experimenting with JavaFX making a small game. I want to add sound. How? I tried MediaPlayer with media defined with relative source attribute like: attribute media = Media{ source: "{__FILE__}/sound/hormpipe.mp3" } attribute player = MediaPlayer{ autoPlay:true media:media } It doesn't play. I get "FX Media Ob...

2D Cel-Shading in JavaFX

Hello everyone, I am writing a pretty simple 2D game in JavaFX, and although its only in preview release at the moment, I am looking to try to implement (even basically) some sort of Cel-Shading onto my game objects. Does anyone know if there are reference implementations of cel-shading out there that I could use, or perhaps, some advi...

Help with trigonometry and circle geometry with JavaFX game

Im trying to get into some basic JavaFX game development and I'm getting confused with some circle maths. I have a circle at (x:250, y:250) with a radius of 50. My objective is to make a smaller circle to be placed on the circumference of the above circle based on the position of the mouse. Where Im getting confused is with the coordi...

How does JavaFX compare to Flash and Flex?

I know Flex pretty good but also started to use Java FX. I am a little bit confused. Java FX seems to focus more on low level drawing operations and animations. Less on creating standard UIs like Flex. So is JavaFX more like Flash than Flex? On the other side JavaFX also supports Swing components as well as data binding, which makes it...

Image width binding in JavaFX

I have a very basic app that I believe should change the width of an image, but it does nothing... can anyone tell me why, when I click on the image, nothing happens to the image? (note, the image itself doesnt really matter, Im just trying to figure out how to shrink and grow and image in JavaFX) import javafx.application.Frame; impo...

Java: JavaFX and Java Interoperability

Can I utilise the new functionality provided by the new JavaFX APIs directly from Java to the same extent as I would be able to using JavaFX Script? Are all the underlying JavaFX APIs purely Java or JavaFX Script or a mix? ...

A better way to do Swing Applications

Is there a better way to develop Java Swing applications? SWIXML? JavaFX? Anything else that developers out here have liked and recommend? ...

javafx 1.0 alignment and layout

With the JavaFX 1.0 release I am trying to layout some SwingButton instances in a HBox such that they are aligned to the right. A lot of the tutorials on the net (admittedly pre 1.0 release) talk about layout classes (FlowPanel et. al) which dont seem to be in this release. Whats the simplest way to achieve this seemingly simple task? ...

JavaFX 1.0 released. What are your thoughts?

JavaFX 1.0 was released on Thursday, Dec. 4. As a developer, what do you think of JavaFX? In your workplace, do you have any plans to move forward with JavaFX-based apps or websites? Do you have near-term plans to learn JavaFX? ...

JavaFX and java

Simple question...Can I mix in my desktop application java and javafx code? If it is possible could you provide me with some link with examples? Or could I pack my custom made javafx CustomNode-s in a jar and use them in my project side by side with standard SWING components? ...