Java 2D, Nachbesprechung Swing
Java Programming Style
- Please write elegant, maintainable code
- Style guides for Java:
- Frequent or interesting mistakes:
- Naming an own class after a class in the Java Foundation Classes (JFC).
- Creating member objects outside of constructor.
- New requirement:
Code Reuse
- Source (URL) and license of copied code have to be written in header of source file.
- Don't copy the majority of your code. Only use some functions.
- Obey license conditions
- Never mix licenses within one project
- Own code has to be licensed under same license (except Public Domain code)
- Allowed licenses: GPL, LGPL, Sun CDDL/CSL, BSD License, Public Domain