Skip to main content

JavaFx - Desktop application

3 replies [Last post]
balaarjunan
Offline
Joined: 2008-12-08

Hi,

I am planning to create a desktop application using JavaFx, the
application should run offline, all the process will take place in the
offline mode and once I connect to Internet, it should update it there
in my server. Is it possible to create an offline Desktop application
using JavaFx, say for eg a mail client like outlook or thunderbird.

Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dgrieve
Offline
Joined: 2008-06-16

See also http://www.javafx.com/docs/tutorials/mediabrowser/ for a more detailed perspective on developing a JavaFX app. The Media Browser has many features that you might find interesting and useful.

jimthev
Offline
Joined: 2003-08-27

Some things didn't make it into version 1.0. The Menu classes being one thing that you need for most desktop apps. If you don't need menus then you are good to go since, for the most part, there isn't really a distinction between applets and applications any more.

The workaround would be to either wait for a menu to be incorporated into javaFX or, since javaFX allows you to include Swing inside of it, use the standard Swing menus with lots of glue between the actions and visibility and such. You could also write your own menu system, but that seems like a waste of time to me since Menus are a fundamental part of the system and shouldn't be coded at the application level.

Some discussion on the lack of menus and other stuff needed by business apps is here http://forums.sun.com/thread.jspa?threadID=5352745

alexsch
Offline
Joined: 2007-07-12

> Is it possible to create an offline
> Desktop application
> using JavaFx, say for eg a mail client like outlook
> or thunderbird.

Yes, it is.
See http://javafx.com/docs/gettingstarted/javafx/create-first-javafx-app.jsp