public void run() {
                while (true) {
                    Date date = new Date();
                    txtDataSO.setText(date + "");

                    try {
                        Thread.sleep(1000); // espera um segundo
                    } catch (InterruptedException exc) {
                        exc.printStackTrace();
                    }
                }
            }