2,2c2,2 < * @(#)MDI_DrawApplication.java 5.2 --- > * @(#)MDI_DrawApplication.java 3a4,9 > * Project: JHotdraw - a GUI framework for technical drawings > * http://www.jhotdraw.org > * http://jhotdraw.sourceforge.net > * Copyright: © by the original author(s) and all contributors > * License: Lesser GNU Public License (LGPL) > * http://www.opensource.org/licenses/lgpl-license.html 8,8c19,19 < import javax.swing.*; --- > import javax.swing.*; 9,9c20,20 < import javax.swing.event.*; --- > import javax.swing.event.*; 25a32,32 > * @version <$CURRENT_VERSION$> 26,26d31 < * @version JHotDraw 5.2 31.08.1999 40,40c46,46 < private StandardDrawingView backupDrawingView; --- > private DrawingView backupDrawingView; 64,64c70,70 < setDesktop(new JDesktopPane()); --- > setDesktop(new MDIDesktopPane()); 65,65c71,71 < getDesktop().setAlignmentX(LEFT_ALIGNMENT); --- > getDesktop().setAlignmentX(JComponent.LEFT_ALIGNMENT); 85,85c91,91 < protected JComponent createContents(StandardDrawingView view) { --- > protected JComponent createContents(DrawingView view) { 139a146,149 > DrawingView newView = createDrawingView(); > Drawing newDrawing = createDrawing(); > newView.setDrawing(newDrawing); > createContents(newView); 140,143d145 < StandardDrawingView fView = createDrawingView(); < Drawing fDrawing = createDrawing(); < fView.setDrawing(fDrawing); < createContents(fView); 148a155,157 > DrawingView newView = createDrawingView(); > newView.setDrawing(drawing()); > createContents(newView); 149,151d154 < StandardDrawingView fView = createDrawingView(); < fView.setDrawing(drawing()); < createContents(fView); 206,206c212,212 < backupDrawingView = newFrame.replaceDrawingView((StandardDrawingView)view()); --- > backupDrawingView = newFrame.replaceDrawingView(view());