Why not write software for the Windows platform only?

Mainly because RML-Image was not written for the general public (it is not a PhotoShop) but for scientists/reserchers and more specifically microscopists. These professionals do not all use Windows computers. A significant portion of them use Mac, Linux and Unix machines. RML-Image being written in Java, will allow them to run it on their preferred platform.