Monday, January 10, 2011

LWUIT Resource Editor Tutorial Part 10: Taking The Lead


In this part of the resource editor tutorial covers the Lead Component feature of LWUIT/resource editor which allows creating some elaborate composite components. A composite component is a single component that is assembled of multiple distinct components of its own. E.g. a multiline button, checkbox etc.
In the tutorial I go over a couple of different strategies eventually settling on the lead component strategy.

8 comments:

  1. That's great news. Last time I had to override paint method to implement multiline button.
    BTW can you share with us you nice Antdoid resource theme ? thanks in advance

    ReplyDelete
  2. Thorsten contributed the theme, its in his SVN in the lwuit-incubator project together with an iPhone theme.

    ReplyDelete
  3. having issues deleting images from res editor in the latest revision. can u chk it plz.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Yes. There are a problem to back command. f.removeCommand(f.getBackCommand());
    you can use this code in postFormName function.

    ReplyDelete
  6. i really like the designer.
    after working with it, i have question how to create form dynamically from netbeans or from the designer.

    Because u have a form-container-list that always duplicate and destroy based on the navigation

    thx u, you rock

    ReplyDelete
  7. @emehmet try:
    setBackCommandEnabled(false);

    ReplyDelete