Parent Directory | Revision Log | Patch
revision 1.14 by mkoch, Tue Jan 25 07:07:25 2005 UTC | revision 1.15 by rabbit78, Wed May 25 08:58:21 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 |