Canvas Drawing in NetBeans
I'm very new to Drawing and NetBeans. I've made a simple window with a few fields and a button that do some random things (was making sure I knew how to manipulate GUI fields).
I built the window using Swing components. I put an AWT canvas in the dialog (can you mix Swing with AWT?), but now I don't know how to draw on the canvas (ex. how would I do a simple line?)

