drawing

Inkscape

I use Gimp to work on images all the time, but I was just reminded of Inkscape as a free tool for drawing and illustrating.

ASCII drawing programs

Every time I go back to writing GUI programs, I find that I want to document my UI layout code, especially when I use something like a JGoodies layout in a Java/Swing application. I just took a look around and found some ASCII drawing programs, which may help me create the documentation I’m looking for, i.e., an ASCII drawing I can put in my Java/Scala comments, above my UI layout code. I created this particular drawing with asciiflow.com.

Scala/Java 2D: How to draw lines and arcs

This code may not make much sense without seeing the end result, but ... the following source code shows how to draw lines and arcs in Scala and Java: