public void run() {
            while (!Thread.interrupted()) {
                try {
                    Thread.sleep(SLEEP_PERIOD);
                    showTable();
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
            }
        }