Showing posts with label ComboBox. Show all posts
Showing posts with label ComboBox. 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);

J2ME with LWUIT (UI Toolkit Widgets) part 2

Lets see how to use Tabbed pane, ComboBox TextArea, TextField

  • TabbedPane
I am going to use Containers with TabbedPanes because it provides an easy way to organize widgets

© kani.stack.notez 2012 | Blogger Template by Enny Law - Ngetik Dot Com - Nulis