Welcome to my Silverlight 3 out-of-browser tutorial. Silverlight out-of-browser functionality allows the user to install Silverlight applications to their local machine and run them offline. This gives developers the additional challenge of supporting both an in-browser and out-of-browser environement as well as gracefully handling offline scenarios. To help developers work through these issues, I created this tutorial which walks through detecting a Silverlight application’s current execution environment and determining if it has Internet access. This is a long one, so let’s not waste anymore time. Read more
Recently, I read Panayoti Haritatos’ post-mortem for Robot Riot and decided to write my own for Word Invaders. In it, I discuss what went right, what went wrong and the lessons learned along the way. Stepping away from the project and then coming back to do this post-mortem certainly gives me a fresh perspective and makes me anxious to start applying some of those lessons. I hope you enjoy reading it. I definitely enjoyed writing it…it gave me a break from working on my Silverlight Out Of Browser tutorial…, which is turning out to be another long one. Read more
When Sun released the first code drops of JavaFX, I excitedly absorbed all the information I could find and started writing tutorials so other developers would not need to scrounge for information like me. However, the severely alpha state of JavaFX soon cooled my zeal, and overwhelmed by the bugs and spotty documentation, I decided to stop writing tutorials.
With the release of JavaFX 1.0, I resurrected, retrofitted and in some cases completely rewrote my old tutorials to match the final version. So, below I’ve listed and described four tutorials that will hopefully serve as a decent first stepping stone for JavaFX beginners:
- JavaFX Hello, World - The obligatory Hello, World! post. This tutorial focuses on minimizing pain by creating the smallest JavaFX program possible and deploying it as a simple JavaFX application.
- Develop and deploy JavaFX Applets and Applications while online and offline - After posting this tutorial on dzone over a month ago, I received some very positive feedback. Recently, I updated it to include information about the “javafxpackager” tool that ships with the JavaFX SDK.
- Using databinding and triggers in JavaFX - This tutorials demonstrates how to populate a combo box using data binding and handle combo box selection changes with triggers.
- Basic 2D Graphics and Animation - In this post, I used the concept of a “shape slide show” to explain how to draw shapes and move them across the screen
I took of bit of a hiatus from posting while working on a new Flash video game I hope to complete soon. Starting today however, I will go back to posting regularly, so stay tuned!
10 Minute JavaFX Tutorial - Develop and deploy JavaFX Applets and Applications while online and offline
Hello! and welcome back to another JavaFX tutorial. Today, I will walk you through deploying a JavaFX application as an applet in the browser and through Java Webstart. Additionally, I will to point you to a method and provide sample code for developing JavaFX applications offline. Instead of writing a new application, I will continue to use the “Hello, World!” application we wrote in the 10 Minute Tutorial - JavaFX: Hello World article.
Before I begin, I have both some good news and some bad news about this tutorial. The bad news first: due to a disgusting lack of documentation, this tutorial caused me plenty of plenty of headaches. I experienced moments when I almost threw my hands up in surrender and at other times, just caught my fist as it reflexively tried to pucnh a hole through my monitor. But, the good news: you shall benefit from my pain. I hope to provide you with enough information so that you won’t experience any of the issues I did and your JavaFX applications will deploy correct the first time…and every time after.
So, let’s get started! Read more
Ahhh, screw it. You know the drill.