/* * ProcessoWindow.java * * Created on March 21, 2007, 9:06 AM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package siprp.medicina.processo; import com.evolute.utils.tracker.TrackableWindow; import javax.swing.JFrame; import javax.swing.SwingUtilities; /** * * @author fpalma */ public class ProcessoWindow extends JFrame implements TrackableWindow { /** Creates a new instance of ProcessoWindow */ public ProcessoWindow() { setupComponents(); } private void setupComponents() { } public void refresh() { } public void open() { setVisible( true ); } public void close() { SwingUtilities.invokeLater( new Runnable() { public void run() { setVisible( false ); dispose(); } } ); } public boolean closeIfPossible() { close(); return true; } }