Java JFrame getJFrame(Window window)

Here you can find the source of getJFrame(Window window)

Description

get J Frame

License

Apache License

Declaration

public static JFrame getJFrame(Window window) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.awt.Window;

import javax.swing.JFrame;

public class Main {

    public static JFrame getJFrame(Window window) {
        if (window instanceof JFrame) {
            return (JFrame) window;
        }// w  w  w  . j av  a  2 s .  co m

        return null;
    }
}

Related

  1. fullScreenWithAPI(JFrame w)
  2. getFileSelection(JFrame parent, boolean onlyDirectories, String startingDir)
  3. getJFrame(Component cmp)
  4. getjFrame(int width, int height)
  5. getJFrame(JPanel panel, String title, int width, int height)
  6. getJFrameOfComponent(Component cmpnt)
  7. getModalDlg(JFrame frame, String title)
  8. getParentJFrame(Component c)
  9. getParentJFrame(Container theFrame)