LaTeXDraw is a graphical opensource PSTricks code generator or a PSTricks editor for LaTeX distributed under the GNU GPL. LaTeXDraw is developped in java, so it's independent of the OS.