Templates and samples for using the canvas in Swing using Scala