Tag Archives: JavaFX

Use of Virtual Extension methods in the Java 8 APIs

May 18, 2012

1 Comment

In wrote a bit about Virtual extension methods here and here. I thought of going over this implementation in the JDK, so that it will give us an idea of how these can be applied. As I told earlier, the main intention of adding the virtual extension methods was to provide an option to extend [...]

email

Using Lambda Expressions of Java 8 in Java FX event handlers

May 14, 2012

2 Comments

Note: The Project Lambda (JSR-335) to be added in Java 8 is evolving and the sample here is how one can use Lambdas with the current Java8 build downloaded from here. I will try to update the sample if there are any changes in the API in future. I thought it will be good to [...]

Developing a Simple Todo Application using JavaFX, Java and MongoDB- Part-3

May 13, 2012

4 Comments

In the previous post we created the UI for adding a new Todo where in we used a Tab, TabPane and added the required controls- TextField and a Button to the Tab. Going forward, in this post we will create the UI for listing the Open Todos i.e the Todos which have not been marked [...]

Developing a Simple Todo Application using JavaFX, Java and MongoDB- Part-2

May 12, 2012

4 Comments

In my previous post: I setup the objective of our sample application and named it as TodoFX (I know lot of you would have missed the naming part, lack of creativity in naming drives me create portmanteau of technology and usage of app) Created the back end for our sample application, in the process we [...]

Developing a Simple Todo Application using JavaFX, Java and MongoDB- Part-1

May 9, 2012

5 Comments

Over a series of 2 posts or so, I would try and show how to develop a simple Todo Desktop application using JavaFX as the Frontend, and the well known NoSQL database MongoDB as the Backend and using Java as the glue between both of them. The main aim of developing this application is to [...]

Using JavaFX Chart API to add charts to Swing applications

May 6, 2012

4 Comments

In our previous post we looked at how we can embed JavaFX components into Swing applications. As Java Swing lacks Charting API, we can make use of the JavaFX Chart API and not depend on other 3rd party libraries like JFreeChart and others. The javafx.scene.chart is the package which contains all the charting related classes. [...]

Embedding HTML into Java Swing Applications

May 6, 2012

7 Comments

HTML in Swing applications? Yes, you have read it right. Swing doesn’t provide components to embed HTML and I have seen lot of people asking how can we add html content in Swing applications. Your concerns have been addressed by the latest release of JavaFX which is JavaFX 2.0. You might wonder what this JavaFX [...]

JSON response from JavaFX HTTP Request

March 21, 2011

0 Comments

Introduction JavaFX is one of the emerging technologies for building RIAs from Sun Microsystems. This document explains how to connect to server from JavaFX applications and parse the response. Performing an HTTP Request The package javafx.io.http contains a class called HttpRequest which supports HTTP protocol. JavaFX applications connect to remote servers or web services using [...]