gov.nih.nlm.nls.lvg.Tools.GuiTool.GuiLib.LibCloseableFrame Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lvg2010dist Show documentation
Show all versions of lvg2010dist Show documentation
LVG tools is used by Apache cTAKES.
The newest version!
package GuiTool.GuiLib;
import java.awt.event.*;
import javax.swing.*;
public class LibCloseableFrame extends JFrame
{
public LibCloseableFrame()
{
// make the window closable, using inner class
addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
});
}
public LibCloseableFrame(String title)
{
this();
setTitle(title);
}
private final static long serialVersionUID = 5L;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy