// This is to fix a problem with the JDK (up to version 1.3)
// where focus events were not generated correctly. The sympton
// is being unable to key into the text entry field unless you click
// elsewhere after focus is gained by the internal frame.
// See bug ID 4309079 on the JavaSoft bug parade (plus others).
addWidgetListener(new WidgetAdapter()
{
public void widgetActivated(WidgetEvent evt)
{
SwingUtilities.invokeLater(new Runnable()
{