BoxFX (JavaOne Preview 1)

After a long time without a post I will show you a first preview of the stuff I’m currently working on. I (and Claudine) don’t sleep the last month. We worked hard on some projects especially for our JavaOne presentations:

    JavaFX, Widgets, and Apps, Oh My! Launching Frameworks for Platforms Large and Small
    DataFX: The Best Way to Get Real-World Data into Your JavaFX Application
    Let’s Get Wet! AquaFX and Best Practices for Skinning JavaFX Controls

Today I will give a sneak peak at one of the projects that will be mentioned in the talks: BoxFX

BoxFX is an application container for JavaFX applications that will run on the Raspberry Pi. It is optimized for HD resolution and can be controlled by a remote. You can simply convert any JavaFX application to BoxFX and simple install applications on a running instance. The main goal of this project is to offer a Set-Top-Box for your TV (like AppleTV or Google TV). But BoxFX will be open source and gives you the chance to develop your own applications for the TV.

Each application will run in a sandbox with a special classloader and security manager. This will be very similar to JEE web applications that are running in a web container. BoxFX will provide an application profile that you can simply add as a provided dependency to your application. By using the BoxFX Maven plugin you can easily install a application on any remote BoxFX. Once an app is installed you can will see it on the BoxFX home screen:

You can control BoxFX with a remote. BoxFX will provide a open API for remotes so that you can easily create a iOS or Android app as a remote for BoxFX. I already created a JavaFX based remote:

I created a short movie about BoxFX. Hope you like it:

9 Responses

  1. Very nice work, Hendrik. I am looking forward to play around with BoxFX as soon as it is open sourced. I already have an idea of a little app to contribute.

    I have a question: I run a JavaFX app on my raspi in fullscreen mode, but the fullscreen seems to be positioned wrong, it is moved some pixels to the upper left, so that I get black bars on the right side and in the bottom. I tried playing with the framebuffer, enabling/disabling overscan, compiling the sources on the Raspi instead of on the Mac, but nothing helped.

    You guys seem to have solved this issue in BoxFX (if you ever had it…).

    Do you have any hints for me how?

  2. Hi Thomas,
    I configured my Pi last year and it’s running since december without any problem. I can’t remember that I had the problems you are talking about. For BoxFX I simply set the resution of my scene to hd ready. I did’t switch to fullscreen.

    1. Hi Hendrik,

      thanks for the reply. Setting the resulotion of the Scene did not work either. It seems that this has something to do with my TV panel as I checked both ways (Stage at fullscreen and setting the Scene resolution) on another monitor and both worked fine there with my pi.



Leave a Reply