Parent Directory | Revision Log | Patch
revision 1.6.2.4 by gnu_andrew, Wed Jan 26 02:30:49 2005 UTC | revision 1.6.2.5 by gnu_andrew, Fri May 27 00:01:45 2005 UTC | |
---|---|---|
# | Line 862 public class JInternalFrame extends JCom | Line 862 public class JInternalFrame extends JCom |
862 | { | { |
863 | JDesktopPane pane = getDesktopPane(); | JDesktopPane pane = getDesktopPane(); |
864 | if (pane != null) | if (pane != null) |
865 | return pane.getLayer(this); | // The cast here forces the call to the instance method getLayer() |
866 | // instead of the static method (this would lead to infinite | |
867 | // recursion). | |
868 | return pane.getLayer((Component) this); | |
869 | return -1; | return -1; |
870 | } | } |
871 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |