Java Window getWindow(String title)

Here you can find the source of getWindow(String title)

Description

get Window

License

Open Source License

Declaration

public static JFrame getWindow(String title) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.HashMap;
import java.util.Map;
import javax.swing.JFrame;

public class Main {
    private static Map<String, JFrame> windows = new HashMap<String, JFrame>();

    public static JFrame getWindow(String title) {
        return windows.get(title);
    }//from ww w . j a  v  a2 s  .c  o  m
}

Related

  1. enableCloseWindowWithEscape(final W window)
  2. fadeOut(final Window window, final boolean dispose)
  3. flashMessage(final Window parent, String string)
  4. getVisibleWindowByName(String name)
  5. getWindow(final Object source)
  6. getWindowNormalBounds(Window window)
  7. getWindowTitle(Window window)
  8. getWindowTitle(Window window)
  9. growIfNecessary(Window window)