/** * Override <code>setVisible()</code> to move the statistic window over the logging client and in * front of other windows */ @Override public void setVisible(boolean visible) { super.setVisible(visible); // Move the statistic win on top of jlog if (visible && isShowing()) { Point loggingPos = loggingClient.getLocationOnScreen(); setLocation(loggingPos); toFront(); } // Refresh the state of the switches to disconnec and clear the table guiSwitches.checkControlsState(); }