1920212223242526272829
public SheepJWindow(JFrame frame) { super(frame); canvas = new SheepCanvas(); DragWindowListener dwl = new DragWindowListener(); canvas.addMouseListener(dwl); canvas.addMouseMotionListener(dwl);