4546474849505152535455
SwingUtilities.invokeLater(new Runnable() { public void run() { TopComponent taw; if (null == name || name.startsWith("${")) { taw = new SipAgentMainWindow(1); } else { taw = SipAgentMainWindow.get(name); } taw.requestActive(); }
333435363738394041
public final class SipAgentCookieAction extends CookieAction { private int nrOfAgents = 0; protected void performAction(Node[] activatedNodes) { SipAgentMainWindow sa = new SipAgentMainWindow(nrOfAgents); nrOfAgents++; sa.requestActive(); }