Canvas on Swing?
I need to an applet for a school project which will be used as a tool for explaining the concept of Trees. The user should be able to add/edit/delete nodes and also drag and drop these nodes within the canvas. Something like JFLAP, if you're familiar with it. But I read that I shouldn't use the canvas with swing components because they're not compatible.
So I would like to know if there is a counterpart of canvas on swing since I know there's no JCanvas and what is this component?

