Skip to content

Commit de5c554

Browse files
hansonrhansonr
authored andcommitted
Internal frame fix
1 parent c294bc3 commit de5c554

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed
276 Bytes
Binary file not shown.

sources/net.sf.j2s.java.core/src/javax/swing/JInternalFrame.java

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@ public class JInternalFrame extends JFrame
118118
RootPaneContainer
119119
{
120120

121-
/**
122-
* @see #getUIClassID
123-
* @see #readObject
124-
*/
125-
private static final String uiClassID = "InternalFrameUI";
126-
127121
/**
128122
* The <code>JRootPane</code> instance that manages the
129123
* content pane
@@ -1885,7 +1879,7 @@ static public class JDesktopIcon extends JComponent //implements Accessible
18851879
*/
18861880
public JDesktopIcon(JInternalFrame f) {
18871881
super();
1888-
uiClassID = "DesktopIcon";
1882+
uiClassID = "DesktopIconUI";
18891883
setVisible(false);
18901884
setInternalFrame(f);
18911885
updateUI();
@@ -1945,9 +1939,7 @@ public JDesktopPane getDesktopPane() {
19451939
return getInternalFrame().getDesktopPane();
19461940
return null;
19471941
}
1948-
1949-
String uiClassID = "DesktopIconUI";
1950-
1942+
19511943
/**
19521944
* Notification from the <code>UIManager</code> that the look and feel
19531945
* has changed.

0 commit comments

Comments
 (0)