About making game tools

What is a good API to write tools with. Such as a paint application? I am using Debian Linux, with Eclipse and I am looking for my first couple of projects to be tools I would use in game development, further down the line. As a paint application, I mean to write something like mtpaint or similar, in Java. I have some programming background, so I am going through some accelerated learning to get up to speed with Java. I have some experience with graphics, but not too much. Any advice would be nice.