diff --git a/src/share/classes/javax/swing/JInternalFrame.java b/src/share/classes/javax/swing/JInternalFrame.java index 9783d01398c3caabde65928286c0cff7dab36b19..03bb2bd78885ad81262d528bd785795aaf903448 100644 --- a/src/share/classes/javax/swing/JInternalFrame.java +++ b/src/share/classes/javax/swing/JInternalFrame.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -38,7 +38,6 @@ import javax.accessibility.*; import java.io.ObjectOutputStream; import java.io.IOException; -import java.lang.StringBuilder; import java.beans.PropertyChangeListener; import sun.awt.AppContext; import sun.swing.SwingUtilities2; @@ -1650,7 +1649,7 @@ public class JInternalFrame extends JComponent implements *
DO_NOTHING_ON_CLOSE *
Do nothing. * This requires the program to handle the operation - * in the windowClosing method + * in the internalFrameClosing method * of a registered InternalFrameListener object. *
HIDE_ON_CLOSE *
Automatically make the internal frame invisible.