SystemTray icon on Mac OSX problem

SystemTray icon on Mac OSX problem published on No Comments on SystemTray icon on Mac OSX problem

Problem I want to have an icon in the SystemTray of Mac in order to sync some calendar stuff. Solution

Extra information I came to this solution via this code snippet Before finding this snippet I have tried a variety of options, namely: ScalaFx, JavaFx, Swt, com.dorkbox.SystemTray. ScalaFx/JavaFx can handle native menu’s via the… Continue reading SystemTray icon on Mac OSX problem

Joy of Coding

Joy of Coding published on No Comments on Joy of Coding

Today is the Joy of Coding day and I’m really looking forward to it. Last year I enjoyed it immensely and I hope to do the same this year.   This post wil be a running commentary about this day Keynote A very engaging and funny keynote. I can’t really blog about it because I have… Continue reading Joy of Coding

JSR-371 – MVC 1.0 – NLJUG Special meeting

JSR-371 – MVC 1.0 – NLJUG Special meeting published on No Comments on JSR-371 – MVC 1.0 – NLJUG Special meeting

Model View Control 1.0 – JSR 371 Today we had a NLJUG meeting about the MVC 1.0 or JSR-371 hosted by Ordina where I was one of the coaches for the workshop. The main goal was to get familiar with the JSR and to criticise it 🙂 As a community it is easier to get… Continue reading JSR-371 – MVC 1.0 – NLJUG Special meeting

How to create JUnit 4 tests with Weld

How to create JUnit 4 tests with Weld published on No Comments on How to create JUnit 4 tests with Weld

Problem You want to write a couple of Integration tests with JUnit and want to use Weld for the CDI part, but don’t know how… Solution Add Weld dependency to your maven project Weld dependency

Create a couple of helper classes: WeldContext

WeldJUnit4Runner

Initialize bean context for test by creating in the… Continue reading How to create JUnit 4 tests with Weld

How to @Inject property file properties with CDI

How to @Inject property file properties with CDI published on No Comments on How to @Inject property file properties with CDI

Also published on DZone Problem You use CDI for your Java application and want to use a Property file for some needed configuration, but don’t know how to do this … Solution Create producers and an annotation to direct it. Annotation

Producer The examples provided here enable parsing of Strings, Booleans and Integers but… Continue reading How to @Inject property file properties with CDI

Java Maven AngularJS seed project

Java Maven AngularJS seed project published on No Comments on Java Maven AngularJS seed project

In this article I’ll try to find the answer to a couple of basic questions like: * Is there a marriage possible between AngularJS, Java and Maven? * Can it be done? * Should it be done? * Must it be done? Here I’ll describe the whole process of making a Java Maven AngularJS seed… Continue reading Java Maven AngularJS seed project