Using J-Painter one can draw:
J-Painter is a raster editor. If you need to edit diagram elements as objects or analyze them in your application then see another Diagram Editor.