jTracer  1.03
Stack trace visualization tool
void org.libcsdbg.jtracer.SessionManager.setIconified ( final boolean  how)

Minimize or restore all client windows.

Parameters
[in]howtrue to minimize, false to restore

Definition at line 97 of file SessionManager.java.

References org.libcsdbg.jtracer.SessionManager.current, and org.libcsdbg.jtracer.SessionManager.sessions.

Referenced by org.libcsdbg.jtracer.MainFrame.actionPerformed(), org.libcsdbg.jtracer.SessionManager.windowDeiconified(), and org.libcsdbg.jtracer.SessionManager.windowIconified().

98  {
99  /* Defer execution to another thread, with a Worker object */
100  class Worker implements Runnable {
101  public void run()
102  {
103  int prev = current;
104  for (int i = 0, cnt = sessions.size(); i < cnt; i++) {
105  sessions.get(i).setIconified(how);
106 
107  try {
108  Thread.sleep(50);
109  }
110 
111  catch (Throwable t) {
112  }
113  }
114 
115  /* When a window is restored, it's activated by the OS window manager */
116  sessions.get(prev).toFront();
117  }
118  }
119 
120  Thread t = new Thread(new Worker());
121  t.start();
122  }
void setIconified(final boolean how)
Minimize or restore all client windows.
int current
Currently selected (focused) client.

+ Here is the caller graph for this function: