public void frameBufferUpdateRequest( RFBClient client, boolean incremental, int x, int y, int w, int h) throws IOException { Calendar calendar = Calendar.getInstance(); System.out.println(calendar); int hours = calendar.get(Calendar.HOUR_OF_DAY); int minutes = calendar.get(Calendar.MINUTE); int seconds = calendar.get(Calendar.SECOND); digit(0, hours / 10); digit(1, hours % 10); digit(2, minutes / 10); digit(3, minutes % 10); digit(4, seconds / 10); digit(5, seconds % 10); super.frameBufferUpdateRequest(client, incremental, x, y, w, h); }