Questions tagged [lwuit]

Lightweight User Interface Toolkit - widget-based UI library for J2ME enabled mobile devices

LWUIT is a framework for cross platform mobile development that was originally inspired by Swing but took a lot of inspiration from SwingX and went much further with themes & styles. LWUIT has a powerful GUI builder/theme creator and provides a porting layer to several platforms specifically J2ME/MIDP, Blackberry, TV, JavaSE (Applets and Applications), Android and others.

LWUIT allows a lot of power in configuring its theme and has 3rd party themes mimicking native Android/iPhone look and feels in the LWUIT incubator. LWUIT features elaborate special effects and transitions and is highly customizable, it supports all the common touch gestures as well as feature phone none-touch UI's seamlessly.

LWUIT is 100% open source and free under the GPL with classpath exception license which allows for both commercial and none commercial deployments.

LWUIT4IO is an additional library for LWUIT recently added to provide improved integration with filesystem, storage, serialization, Networking etc. To this date there is a large and thriving LWUIT community, there are many operator grade deployments of applications based on LWUIT within some of the biggest operators in the world.

Video of chat demo (shows off some animations and bubble chat): http://www.youtube.com/watch?v=LFClNS5vWQs

One of the many videos showing off the resource editor tool which includes a GUI builder, Theme editor, localization tool etc.: http://lwuit.blogspot.com/2011/04/generating-netbeans-project-from.html

Official Website

http://www.oracle.com/technetwork/java/javame/javamobile/download/lwuit/index.html

902 questions
1
vote
1 answer

How to group Commands?

I want to group Commands in two groups : one in the left and one in the right. For example Commands "Main menu" , "Clients", "Credits" and "Exit" are grouped at the left , and Commands "Detail client", "Detail credit" are grouped at the right.
user768004
1
vote
2 answers

How to format a Date variable in LWUIT?

I have an object whose class has a getter method , and this getter method returns a Date value. I want to show this value in a Label in the format DD/MM/YYYY. How to achieve that with LWUIT ? Thank you very much indeed
user768004
1
vote
1 answer

How to get a native keypad in game.?

i have a game developed using LWUIT.now i am implementing full touch in game.it is a multi player game so there are some options like chat and login. when we press on chat we need to enter the characters in the field. my question is is it possible…
Kris
  • 891
  • 2
  • 18
  • 41
1
vote
1 answer

NoClassDefFoundError with LWUIT

I wrote a J2ME application in Eclipse by using LWUIT. In order to use LWUIT, I had to add LWUIT.jar to my project. The project compiles successfully, but could not run, giving a NoClassDefFoundError for the…
Anup Rojekar
  • 1,093
  • 9
  • 29
1
vote
1 answer

Empty statemachine base?

hello I recently started using Resource editor and I have a question:I 'm trying to create a simple project just for test purposes in Resource Editor:nothing special just a Label with a hello world, but when I push "create Netbeans project" while…
tdgs
  • 173
  • 2
  • 9
1
vote
2 answers

How to port Lwuit application to Blackberry Torch

I have developed a Lwuit application and I ported that same app to blackberry bold,curve,storm but when I gonna port that very same application to blackberry torch it doesnt work and gives illegal state exception. So I want to know how to port my…
1
vote
1 answer

Using a listrenderer and check boxes in lwuit

I've created the following custom list renderer for lwuit. The renderer extends a checkbox but for some reason, the select and unselect (check/uncheck) functions dont work. If i setselected() all the items come selected and cant be unselected.…
Thuita Wachira
  • 176
  • 2
  • 16
1
vote
1 answer

How to show dialog with searching list using LWUIT?

I need to show the dialog with searching list while user pressing the button. How to do it with LWUIT?
bharath
  • 14,283
  • 16
  • 57
  • 95
1
vote
2 answers

Lwuit on nokia. Setting a command to the game fire key

This may seem trivial, but i'm working on a project to be deployed exclusively on nokia phones, and all i want is to create a command and set it to the "GAME_FIRE" center key. For some reason, when adding lwuit commands, LWUIT skips the game fire…
Thuita Wachira
  • 176
  • 2
  • 16
1
vote
1 answer

How do I align textPosition for a label?

I wonder if it is possible to set textPosition() for a Label that includes an Image and a text part so that the text is both TOP and LEFT. The problem I have now is that I need the text to be TOP but when that is selected the text is centered over…
Renas
1
vote
2 answers

Dynamically create node in lwuit for tree view

TreeModel model = new TreeModel() { Node[] sillyTree = { new Node("X", new Node[] { new Node("Child 1", new Node[] { }), new Node("Child 2", new Node[] { }), new Node("Child 3",…
JohnRaja
  • 2,377
  • 6
  • 26
  • 47
1
vote
1 answer

How to implement two UI threads LWUIT in Blackberry?

I am writing an application for blackberry using LWUIT. I want to display a popup window while a process is carried out in the window which is previously opened up. How can I do this? Thanks in advance, Sajith Weerakoon.
1
vote
1 answer

how to center align in LWUIT?

mForm.addComponent(new Label("some text")); I want to center align my text on the screen. how can I go about it ? I am using LWUIT 1.4.
garima
  • 5,154
  • 11
  • 46
  • 77
1
vote
1 answer

Sprint Wireless Toolkit

At the risk of being told not to ask where I can find a particular program, I'm asking where I can find a particular program. I need to develop an app in LWUIT (yes, old technology, I am well aware). Does anyone know where I can find a copy of the…
theglossy1
  • 543
  • 3
  • 13
1
vote
1 answer

deprecated error in LUWIT

The method CommandListener(ActionListener) from the type Form is deprecated. the above error started coming when I imported this. import com.sun.lwuit.Form; Form f = new Form("Hello, LWUIT!"); f.show(); f.setCommandListener(this); //error…
garima
  • 5,154
  • 11
  • 46
  • 77