32333435363738
scroll.setViewportView( canvas ); contentPanel = new JPanel(); contentPanel.add( scroll ); frame = new EditorFrame( contentPanel ); }