ilex.gui.ChangeTrackTextField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opendcs Show documentation
Show all versions of opendcs Show documentation
A collection of software for aggregatting and processing environmental data such as from NOAA GOES satellites.
The newest version!
package ilex.gui;
import javax.swing.JTextField;
public class ChangeTrackTextField
extends JTextField
{
private String origText;
public ChangeTrackTextField()
{
super();
origText = "";
}
public ChangeTrackTextField(String v)
{
super(v);
setOrigText(v);
}
public void setOrigText(String v)
{
setText(v);
origText = v;
}
public boolean isChanged()
{
return origText.equals(getText().trim());
}
}