Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void update()
- {
- EditorTextPane.setText("Hi");
- }
- /**
- * @param args the command line arguments
- */
- public static void main(String args[]) {
- Timer t1 = new Timer();
- t1.schedule(new update, 0, 1000);
- }
Add Comment
Please, Sign In to add comment