summaryrefslogtreecommitdiff
path: root/javax/swing/SwingUtilities.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/swing/SwingUtilities.java')
-rw-r--r--javax/swing/SwingUtilities.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/javax/swing/SwingUtilities.java b/javax/swing/SwingUtilities.java
index bba27a289..af4ae040a 100644
--- a/javax/swing/SwingUtilities.java
+++ b/javax/swing/SwingUtilities.java
@@ -1021,9 +1021,9 @@ public class SwingUtilities
*
* @return The common Frame
*/
- static Frame getOwnerFrame(Frame owner)
+ static Window getOwnerFrame(Window owner)
{
- Frame result = owner;
+ Window result = owner;
if (result == null)
{
if (ownerFrame == null)