applet problem (part 2)

List for Users of Carlsbad Cubes' Technologies and Products <[email protected]> Wed, 11 Jan 2006 17:35:48 -0500
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
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;
  }
}