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

904 questions
5
votes
1 answer

Why do Buttons have action listeners and commands don't in LWUIT?

Is there any reason why in LWUIT a Button can have its own ActionListener (via button.addActionListener) while a Command does not? Is the only way to have a listener for a specific command is to add an ActionListener to a form and check the listener…
5
votes
2 answers

How to create the custom Calendar in LWUIT?

Currently in LWUIT, I can use Calendar. But I can't add the notes on particular dates. How to create the custom Calendar in LWUIT? Because I need to show the birthday notes on LWUIT Calendar and want to show the birthday notes when user select that…
bharath
  • 13,880
  • 16
  • 53
  • 93
4
votes
3 answers

Java access a public variable outside a class, SecurityException: MIDlet not constructed by createMIDlet

I'm a newbie in java and I have a small problem. I want to access a variable in one class from another. I have three classes and I want to be able to access a variable in the main class to enable me read the array. The error I am getting is …
sammyukavi
  • 1,433
  • 2
  • 22
  • 42
4
votes
2 answers

minimizing a mobile application on exit button press

I am developing a mobile application using J2ME and LWUIT. Whenever the default exit Button (red in color) is pressed on a phone with symbian OS , I want my application to be minimized and not exited. How do i achieve this?
Nikhil
  • 1,188
  • 2
  • 20
  • 39
4
votes
3 answers

LWUIT, How to create a custom label for form title

I want to know how to create a label that contains two icons, one on each side and set it as the title bar for the form element (LWUIT widgets).
David-mu
  • 1,732
  • 18
  • 24
4
votes
1 answer

How to detect key pressed event in LWUIT form?

I have written simple j2me program with LWUIT package.I have added one Form in my MIDLET class file. Suppose,user press a key then I want to show another Form.But I couldn't be able to capture key event in my LWUIT Form. This is my code…
Saravanan
  • 10,584
  • 42
  • 132
  • 207
4
votes
3 answers

How to restrict j2me application in the Landscape mode only

I am developing application using J2ME and LWUIT.I want to run this application on landscape mode only. For Nokia there is an attribute : Nokia-MIDlet-App-Orientation: landscape but for other device , What is the attribute to restrict the…
Megha
  • 1,561
  • 2
  • 18
  • 33
4
votes
2 answers

how to create popup window when pressing numeric keys in sun java wireless toolkit 2.5.2?

I want to create popup window in sun java wireless toolkit when pressing numeric keys on Mobile. I don't know whether it is possible or do need to use some additional technologies for that? And also I want to draw some strings on the popup…
Saravanan
  • 10,584
  • 42
  • 132
  • 207
4
votes
2 answers

How to capture images using LWUIt VIdeoComponent

I have tried using MediaComponent, but since it is now deprecated it wont be good moving forward. Also i was not able to get it to re-size to full screen on the form. I am trying to use VideoComponent to capture a screen shot in an S40 device. I…
Ajibola
  • 1,218
  • 16
  • 28
4
votes
3 answers

How to refresh the lwuit form?

I am working in a project in which user fills a questionnaire and the answers are then submitted to the server. For simplicity I have just kept two questions per screen and after clicking on the next command the user gets next two questions. I have…
Amit
  • 12,400
  • 16
  • 71
  • 142
4
votes
1 answer

Set the size of text in label in LWUIT j2me

Is there any way to set the size(means font size,i want to make my text larger contaning font size of 17-20) of the text in the label in LWUIT for J2ME.
ios developer
  • 3,057
  • 2
  • 43
  • 93
4
votes
1 answer

Dynamic table in lwuit

How to create a Dynamic table in lwuit TableModel model = new DefaultTableModel( new String[]{"A", "B", "Call Avg"}, new Object[][]{ {"0", "50", "0.00"}, {"0", " " + "2",…
JohnRaja
  • 2,315
  • 6
  • 26
  • 47
4
votes
1 answer

PopupChoiceGroup actionlistener won't work on Asha 501

I'm currently making an app for Asha phones, both the 3xx series and the new 5xx ones. I already have the code working on the 3xx series such as Asha 310 and 311, but for some reason, when I compile and try it on Asha 501 phones, it doesn't…
Pat
  • 1,012
  • 10
  • 28
4
votes
1 answer

Externalizable interface implmentation for a composed object in Java. (LWUIT)

I'm trying to implement the Externalizable interface to store the data using the LWUIT-IO's storage. This worked great for simple objects that are composed of Strings, booleans and ints. However, I have an object that is composed of these types, but…
Pat
  • 1,012
  • 10
  • 28
4
votes
1 answer

J2ME in Eclipse with LWUIT - got an Exception

I have created so many J2ME Applications in NetBeans. now I want to create J2ME Applications in Eclipse instead of NetBeans. so I am new to Eclipse and I have installed MTJ Plug-in in Eclipse 3.7.2 Indigo and also J2ME wireless Toolkit for…
Riddhi Barbhaya
  • 1,165
  • 1
  • 10
  • 19
1
2
3
60 61