applet problem (part 2)

I have a workaround below. I can live with it, and clearly it's not a 
generic solution. Also note that I have all the new patches from the CVS.

Steve
-----------------------------------
try {
   _se.render(url);
} catch (Exception e) {    e.printStackTrace(System.out); 
D.fatal(e.toString()); }

 if (not an applet)
        return;

Iterator it = _se.getAllComponentItertor();

while (it != null && it.hasNext()) {
  Object o = it.next();

  if (o instanceof JDialog)
      _dialog = (JDialog) o;
  else
  if (o.getClass() == JButton.class) {
    JButton b      = (JButton) o;
    Action  action = b.getAction();

    if      (action == a_ok)  _ok  = b;
    else if (action == a_can) _can = b;
  }
}
(Continue reading)


Gmane