Start the server uptime timer.
Definition at line 189 of file StatusBar.java.
References org.libcsdbg.jtracer.Registry.get(), and org.libcsdbg.jtracer.StatusBar.timer.
192 if (EventQueue.isDispatchThread()) {
193 Registry conf = Registry.getCurrent();
194 Color bg = (Color) conf.get(
"statusbar",
"bgcolor-uptime-active");
195 fields.get(
"uptime").getParent().setBackground(bg);
197 timer =
new Timer(1000,
this);
198 timer.setActionCommand(
"Uptime timer");
199 timer.setCoalesce(
false);
217 SwingUtilities.invokeLater(
new Worker());
220 catch (Throwable t) {
void startUptimeTimer()
Start the server uptime timer.