Coding guidelines

Logging

For logging use the Java Logging API. Example: Logger.getLogger(MyClass.class.getName()).log(Level.INFO, "Bla...");

Write tests

Within the NetBeans IDE select Tools > Create JUnit Tests which creates a skeleton class for the current class. Press Ctrl+Alt+F6 to run the test.

Author: Elmar Baumann
Write e-Mail
Status of this document: 2011-05-25