Tag Archives: java

Java: Loading a SVG into a BufferedImage

Unfortunately Java does not support SVG by default. But there is a great Apache Project aiming just for this purpose called batik. Although the reference and documentation is pretty well, it does not cover loading an SVG and just saving … Continue reading

Posted in Java | Tagged , , , , | 1 Comment

HOWTO: Using JUnit with Eclipse with git hooks

This HOWTO shows using the git pre-commit hook to auto-run all JUnit tests before committing. This can be useful if you have a strict policy that no commit should fail the unit-test suite or if you just want to make … Continue reading

Posted in Java | Tagged , , , , , , | Leave a comment

Java needs operator overloading

I like Java but I can’t understand why it still doesn’t have operator overloading. Everyday operator overloading Every Java object has two (and more) methods: String toString(): Returns a string representation of the object. boolean equals(Object obj): Indicates whether some … Continue reading

Posted in Java | Tagged , , | 4 Comments