You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
blacktaxi edited this page Jun 2, 2012
·
5 revisions
Seesaw has some basic support for Java2D drawing, using the (canvas) function to create a paintable panel. See src/seesaw/graphics.clj and src/seesaw/test/examples/canvas.clj.
src/seesaw/test/examples/scribble.clj show how to do mouse interaction with a canvas.
Note that the (seesaw.core/paintable) macro can also be used if you'd like to paint custom graphics over an existing widget type. There's an example in src/seesaw/test/examples/xyz_panel.clj. See also this post for more info on custom painted widgets.