Asynchronous operations in JavaFX

Example requests Google Path API in asynchronous mode. Look to time ticker. The time doesn’t stop while application make request to server

.

Start example via WebStart – http://www.javafx.me/crudfx/examples/Asynchronous.jnlp

.

How to use:

import crudfx.util.*;
...
Waiter{
  action:makeQuery
  onDone:updateGUI
  }.serve();

.

Download Netbeans project
http://www.javafx.me/crudfx/examples/Asynchronous.zip

Download CRUDfx SDK
http://www.javafx.me/crudfx/extension/CRUDfx.jar

Posted in real world, utility

Go to Source

Leave a Reply

You must be logged in to post a comment.