Showing posts with label UI. Show all posts
Showing posts with label UI. Show all posts

Monday, January 16, 2012

J2ME with LWUIT (UI Toolkit Widgets) part 3

In this note, I would like to note down how to create a Ticker, Calendar
Any label can be configured as a Ticker.
  • Ticker
            Image ico = Image.createImage("/img/arrow.png");
            Label lblTicker = new Label("Hello! This is a Ticker!");
            lblTicker.setIcon(ico);

            Form frm=new Form();
            frm.addComponent(lblTicker);
            frm.show();
                    
            //finally
            lblTicker.startTicker(100, true);

Sunday, January 15, 2012

J2ME with LWUIT (UI Toolkit Widgets) part 1

There are very important UI widgets available in LWUIT lets demonstrate them.

J2ME with LWUIT (Commands)

Definitely we may need to use commands because users must have a simple way to command our app. Though we can use buttons to get user commands, it may not be the best options. By using commands we can easily place the frequently used commands in our app.

J2ME with LWUIT (Initializing)

LWUIT is a SWING like lightweight widget library for J2ME. It is very useful for software development with J2ME. I could find a very useful guide for LWUIT. It is available here.

LWUIT class hierarchy is useful when we use LWUIT wifgets.
© kani.stack.notez 2012 | Blogger Template by Enny Law - Ngetik Dot Com - Nulis