Global java vm arguments

When you start a Java virtual machine you can specify various vm arguments. Some alter the memory management, some the garbage collection and some are system properties.

But you can also specify global vm arguments that are picked up by every virtual machine that starts within an environment context.

These global options are specified using the […]

By |October 23rd, 2017|JDK|0 Comments

Clean Code with underscores in literals

As of java 1.7 the java language specification allows integer literals to contain underscores in order to make them more readable. If it is applied in a good way it can enormously increase the readability of your code.

In java 1.6 one had to define integer literals like this:

With java 1.7 such integer literals can be […]

Custom swing component renderers

This blog shows how to implement a custom swing component renderer using the example of a ListCellRenderer.
By |October 19th, 2014|JDK, Swing|1 Comment

The MVC pattern implemented with java swing

MVC Pattern Basics
The MVC pattern describes a way to organize the components of a graphical user interface. Therefore it must cover all aspects of a user’s interaction with an application.
If we take an analytic look at a graphical user interface we will understand why the MVC pattern is composed of the 3 elements model, […]

The difference between pojos and java beans

Java Beans and Pojos are often used and misunderstood terms. Some think that a pojo is a java bean and vice versa. In fact it is not. There are differences that matter.
The pojo
If you want to know what a term really means you have to find the source context in which the term has been created. […]