Fix toaster notifications not working on <= Java 6