org.tbee.swing
Class ModalFrameUtil

java.lang.Object
  extended by org.tbee.swing.ModalFrameUtil

public class ModalFrameUtil
extends Object

Present a regular frame with dialog behaviour over another frame.

Version:
$Revision: 1.8 $

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
ModalFrameUtil()
           
 
Method Summary
static void main(String[] args)
           
static void showAsModal(Frame frame, Frame owner)
          show the given frame as modal to the specified owner.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

ModalFrameUtil

public ModalFrameUtil()
Method Detail

showAsModal

public static void showAsModal(Frame frame,
                               Frame owner)
show the given frame as modal to the specified owner. NOTE: this method returns only after the modal frame is closed.

Parameters:
frame -
owner -

main

public static void main(String[] args)


Copyright © 2011 KnowledgePlaza. All Rights Reserved.