// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) fieldsfirst 
// Source File Name:   NotifierTextField.java

package lt.ktu.gmj.propertySheet;

import java.awt.Component;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import javax.swing.JTextField;
import javax.swing.text.JTextComponent;

// Referenced classes of package lt.ktu.gmj.propertySheet:
//			StringablePropertyEditor

class NotifierTextField extends JTextField
	implements FocusListener
{

	private StringablePropertyEditor owner;

	public void focusGained(FocusEvent focusevent)
	{
		owner.fieldChanged();
	}

	public void focusLost(FocusEvent focusevent)
	{
		owner.fieldChanged();
	}

	public NotifierTextField(StringablePropertyEditor stringablepropertyeditor)
	{
		owner = stringablepropertyeditor;
		setEditable(true);
		setOpaque(true);
		addFocusListener(this);
	}
}
