import jcc2.lib.RTCallbackCaller; import jcc2.lib.graphlib.Canvas; import jcc2.lib.graphlib.Graphics; import jcc2.lib.mathlib.library; import jcc2.midlet.Midlet; public class midlet extends Midlet implements RTCallbackCaller { public midlet() { } public void main() { Canvas canvas_1 = new Canvas(); canvas_1.show(); canvas_1.fullscreen(true); int int_1 = canvas_1.getWidth(); int int_2 = canvas_1.getHeight(); int int_3 = library.getSingleton(this).min(int_1, int_2) - 10; int int_4 = int_3 / 2; int int_5 = int_4 - 4; int int_6 = int_5 * 2 / 3; int int_7 = int_5 / 2; int int_8 = int_1 / 2 - int_3 / 2; int int_9 = int_2 / 2 - int_3 / 2; while ((canvas_1.getKeyStates() - 0 != 0) || (0 != 0)) { int int_10 = jcc2.lib.stdlib.library.getSingleton(this).getTimeField(13) * 6 - 90; float float_1 = (float) library.getSingleton(this).toRadians((double) int_10); float float_2 = (float) library.getSingleton(this).toRadians((double) int_10); float float_3 = (float) library.getSingleton(this).toRadians((double) int_10); Graphics graphics_1; graphics_1.setColor(0); graphics_1.fillRect(0, 0, int_1, int_2); graphics_1.setColor(0xffffff); graphics_1.drawArc(int_8, int_9, int_3, int_3, 0, 360); graphics_1.setColor(255); int int_11 = (int) (library.getSingleton(this).sin(float_3) * (float) int_7); int int_12 = (int) (library.getSingleton(this).cos(float_3) * (float) int_7); graphics_1.drawLine(int_1 / 2, int_2 / 2, int_1 / 2 + int_12, int_2 / 2 + int_11); graphics_1.setColor(0xff00); graphics_1.drawLine(int_1 / 2, int_2 / 2, int_1 / 2 + int_12, int_2 / 2 + int_11); graphics_1.setColor(0xff0000); graphics_1.drawLine(int_1 / 2, int_2 / 2, int_1 / 2 + int_12, int_2 / 2 + int_11); graphics_1.setColor(0xffffff); graphics_1.drawString("".concat(jcc2.lib.stdlib.library.getSingleton(this).getTimeString()), 1, canvas_1.getHeight() - 1, 4 | 0x20); graphics_1.drawString("".concat(String.valueOf(jcc2.lib.stdlib.library.getSingleton(this).getTimeField(13))), 0, 50, 20); canvas_1.repaint(); jcc2.lib.stdlib.library.getSingleton(this).sleep(1000); } return; } public void startApp() { Midlet.display.setCurrent(Midlet.midlet.f_Form); main(); } }