jTracer  1.03
Stack trace visualization tool
void org.libcsdbg.jtracer.SessionManager.windowClosed ( WindowEvent  event)

Handler for events fired for closed (disposed) windows.

Parameters
[in]eventthe closed window event

Definition at line 288 of file SessionManager.java.

References org.libcsdbg.jtracer.SessionManager.current, org.libcsdbg.jtracer.Session.isIconified(), and org.libcsdbg.jtracer.SessionManager.owner.

289  {
290  try {
291  JFrame f = (JFrame) event.getWindow();
292  if (f.equals(owner))
293  return;
294 
295  Session cur = sessions.remove(current);
296  cur.quit();
297  int cnt = sessions.size();
298  if (cnt == 0) {
299  current = -1;
300  firePropertyChange("sessionCount", null, cnt);
301  return;
302  }
303 
304  if (current == cnt)
305  current--;
306 
307  firePropertyChange("sessionCount", null, cnt);
308  cur = sessions.get(current);
309  if (cur.isIconified())
310  ;//shiftSelection(1);
311  else
312  cur.toFront();
313 
314  //setUiState("Client list changed");*/
315  }
316 
317  catch (Throwable t) {
318  Registry.debug(t);
319  }
320  }
int current
Currently selected (focused) client.

+ Here is the call graph for this function: