Package javax.microedition.lcdui

Examples of javax.microedition.lcdui.Graphics.drawLine()


                {
                    status = ResourceManager.getResource( "rowSetListView.noData" );
                }
                y = height - fontHeight - 2;
                g.setColor( color );
                g.drawLine( 1, y, getWidth() - 2, y );
                g.drawString(
                        status != null ? status : "",
                        1,
                        height - fontHeight + font.getBaselinePosition(),
                        Graphics.LEFT | Graphics.BASELINE
View Full Code Here


*/
public class GraphicsSample {
 
  public static void main(String [] options) throws Exception {
    Graphics g = new Graphics();
    g.drawLine(5,5,60,60);
    g.drawRect(62, 10, 25, 35);
    g.refresh();
    Button.waitForPress();
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.