equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
36 |
36 |
37 import javax.accessibility.*; |
37 import javax.accessibility.*; |
38 |
38 |
39 import java.io.ObjectOutputStream; |
39 import java.io.ObjectOutputStream; |
40 import java.io.IOException; |
40 import java.io.IOException; |
41 import java.lang.StringBuilder; |
|
42 import java.beans.PropertyChangeListener; |
41 import java.beans.PropertyChangeListener; |
43 import sun.awt.AppContext; |
42 import sun.awt.AppContext; |
44 import sun.swing.SwingUtilities2; |
43 import sun.swing.SwingUtilities2; |
45 |
44 |
46 |
45 |
1652 * <br><br> |
1651 * <br><br> |
1653 * <dl> |
1652 * <dl> |
1654 * <dt><code>DO_NOTHING_ON_CLOSE</code> |
1653 * <dt><code>DO_NOTHING_ON_CLOSE</code> |
1655 * <dd> Do nothing. |
1654 * <dd> Do nothing. |
1656 * This requires the program to handle the operation |
1655 * This requires the program to handle the operation |
1657 * in the <code>windowClosing</code> method |
1656 * in the <code>internalFrameClosing</code> method |
1658 * of a registered <code>InternalFrameListener</code> object. |
1657 * of a registered <code>InternalFrameListener</code> object. |
1659 * <dt><code>HIDE_ON_CLOSE</code> |
1658 * <dt><code>HIDE_ON_CLOSE</code> |
1660 * <dd> Automatically make the internal frame invisible. |
1659 * <dd> Automatically make the internal frame invisible. |
1661 * <dt><code>DISPOSE_ON_CLOSE</code> |
1660 * <dt><code>DISPOSE_ON_CLOSE</code> |
1662 * <dd> Automatically dispose of the internal frame. |
1661 * <dd> Automatically dispose of the internal frame. |