Java JFrame displayWindow(final JFrame window)

Here you can find the source of displayWindow(final JFrame window)

Description

display Window

License

Open Source License

Declaration

public static void displayWindow(final JFrame window) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2014 uniVocity Software Pty Ltd. All rights reserved.
 * This file is subject to the terms and conditions defined in file
 * 'LICENSE.txt', which is part of this source code package.
 ******************************************************************************/

import javax.swing.*;

public class Main {
    public static void displayWindow(final JFrame window) {
        SwingUtilities.invokeLater(new Runnable() {
            @Override//from www .ja  va2 s .c o  m
            public void run() {
                window.setVisible(true);
            }
        });
    }
}

Related

  1. dispAlert(JFrame pFrame, String pTask, String pMessaggio)
  2. dispErrore(JFrame frame, String task, String mess)
  3. display(JFrame parent, JInternalFrame dialog)
  4. displayConfirmationMessage(JFrame parent, String message, String title)
  5. displayError(Exception e, JFrame jFrame)
  6. dispose(final JFrame frame)
  7. doDisableActiveRenderingInEDT(final JFrame jFrame)
  8. drawHelpPanel(String helpToDisplay, final JFrame frame)
  9. enable(final JFrame frame)