Home » Java » Desktop Java » Page 5

Desktop Java

Overview of Scala.js from a GWT developer perspective

This blog is heavily biased towards GWT (and GWT based frameworks), but we are keeping in my mind that GWT may be taken over by other technologies in the future, so we are always open to exploring other platforms/frameworks. As they say, diversification reduces risk. Every programming language, even the weirdest ones, have their “to javascript” compiler: https://github.com/jashkenas/coffeescript/wiki/List-of-languages-that-compile-to-JS, so GWT ...

Read More »

Dependency injection in GWT using Dagger 2

Dependency injection is a software development concept where objects are provided with all the objects or values than they need for creation. GWT users have been familiar with GIN, but this last has been deprecated and is not supported anymore, so applications using GIN currently need really to say farewell. Dagger is the new dependency injection framework for GWT. For ...

Read More »

Quick Tip: Debugging a GWT application using Chrome Dev tools

Debugging is an important aspect of software development. Having the right tools can save a lot of time and headaches. Before GWT Super Dev mode, the classic Dev mode allowed to use JVM debugging. Developers could set break points within their IDE and use debug mode to track bugs and errors. Now with the Super dev mode, things are different. ...

Read More »

JavaFX Animation Tool

Ok, I guess it is time to let you in on a little secret. The last three months or so I worked on a private project with the goal to create a tool that would allow me to easily create animations for Java desktop applications. JavaFX contains fantastic support on the API level for doing animations but for beginners or even intermediate ...

Read More »

JavaFX Real-World Apps: SkedPal

A new entry in the “Real World Applications” series. This time it is SkedPal, an application for managing a busy person’s life intelligently. I have been consulting the SkedPal team in matters related to JavaFX and also when they made the decision to start using my CalendarFX framework for their calendar requirements. Below you can see a couple of screenshots ...

Read More »

OpenMap Tutorial 5 – 3-tier GIS application

1. Introduction Welcome to the 5th tutorial of the OpenMap series of Tutorials.  OpenMap is a free open source Java GIS library. Here is a list of previous tutorials: In the first tutorial we created a basic OpenMap GIS application that displays a map with one shape layer, loaded from the filesystem, inside a JFrame. That tutorial was based on ...

Read More »

Introducing HawkFX

As I said before, I started playing with JRubyFX. And for me learning something new best works with a use case, so I started creating an inventory browser for Hawkular. Why JRubyFX? Let’s first start with “What is JRubyFX” anyway? JRubyFX is JavaFX brought to the Ruby world by the means of JRuby. This means that you can implement UIs ...

Read More »

A JavaFX HelloWorld using Java 9’s Project Jigsaw in 60 seconds

By now you’ve probably have heard of Java 9’s new module system a.k.a. project Jigsaw. If you don’t know about Java 9’s new module system, you should visit Mark Reinhold’s paper on The State of the Module System. Also, you should check out @nipafx Nicolai Parlog’s excellent blog at http://blog.codefx.org There he goes into great detail about Java 9’s new module system and ...

Read More »

Button of Choice: Use ToggleButtons as RadioButtons

For MQTT.fx I wanted to use ToggleButtons to e.g. choose the de coding of a MQTT Message or the QoS Level: I found out that in context of a ToggleGroup ToggleButtons behave different than RadioButtons in terms of selection/deselection: unlike RadioButtons ToggleButtons can still be set to unselected state. A RadioButton extends ToggleButton and overrides fire() (which is invoked when a user gesture indicates that an ...

Read More »