import javax.microedition.lcdui.*; class Louend1 extends Canvas{ protected void paint(Graphics g){ g.setColor(255, 255, 255); g.fillRect(0, 0, getWidth(), getHeight()); g.setColor(0, 0, 0); g.drawLine(10, 10, 80, 10); //x1, y1, x2, y2 } }