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
2 answers

Unit test classes with lwuit usage

I'm working under quite old app which uses LWUIT for UI. I'm trying currently to write unit tests for MIDlet class but because there are a lot of LWUIT static methods calls it's quite hard to make it properly working even with PowerMock. Does anyone…
Eugen Martynov
  • 19,888
  • 10
  • 61
  • 114
1
vote
2 answers

Can typical j2me API(LCDUI) and LWUIT combined together

My doubt is I building an J2ME location based application as a my final year project which is totally built using J2ME API like high level UI (Form) and low level UI (Canvas). Now i want to use the LWUIT API's to make few changes in high level UI…
Rahul More
  • 615
  • 3
  • 13
  • 41
1
vote
1 answer

How to launch a LWUIT form from a LCDUI form?

The question has been indirectly spoken about in some of the earlier questions but i havent seen anything decisive about it.. I am currently using this piece of code to show a LWUIT form inside CommandAction implementation. public void…
Nezam
  • 4,122
  • 3
  • 32
  • 49
1
vote
3 answers

Lwuit S40 Dimmed Forms

I am developing a LWUIT S40 app. The guidelines specify that when a dialog is on, the background, including status bar, header bar, category bar, must be dimmed – 60% black. I think that this will happen automatically, but it doesn't. Anybody knows…
Mun0n
  • 4,438
  • 4
  • 28
  • 46
1
vote
2 answers

Form can't scroll when contains list lwuit

Here's my code: public Form getMenuForm() { if ( menuForm == null ) { Form menuForm = new Form( "Tracking Main Menu" ); menuForm.setLayout( new BoxLayout( BoxLayout.Y_AXIS ) ); menuForm.setScrollable( true ); …
1
vote
2 answers

JSON Object to POJO in J2ME

I'm supposed to port an Android app into Nokia S40 app. I used GSON in Android to parse JSON. But unfortunately GSON is not compatible with J2ME. I tried Flexson and Jackson but no luck. So is there any library available to Serialize/Deserialize…
Umayr
  • 97
  • 6
1
vote
3 answers

Applying Focus to a Textfield in LWUIT

I created a customised keyboard in LWUIT as follows. I put a textfield and put buttons from "A-Z" and added actionlistener to each button so that it displays in the text field. Now my problem is there is no focus available. If I need to edit a…
user1635256
  • 111
  • 1
  • 11
1
vote
1 answer

Sending sms and receiving delivery report in J2me

I am developing a project where I need to send an sms to the contact and if the contact doesn't receives the sms I have to send him another or choose another contact. So, for notifying my midlet of successful sms delivery i'll need to receive and…
shriniket
  • 55
  • 1
  • 7
1
vote
1 answer

Receive SMS messages using J2ME

Was wondering if I could get some help with the following. I'm creating a J2ME app which sends/receives sms messages for login. So the user provides their username and password in some textfields and an sms is sent to check if the details provided…
user913059
  • 579
  • 4
  • 19
1
vote
1 answer

codenameone open t9 instead virtual keyboard

How can open T9 or default OS keyboard instead of VKB (virtual keyboard) of codenameone when client focus on TextField for input data?
Ahmad
  • 437
  • 5
  • 20
1
vote
1 answer

lwuit change UI language

I use codenameone to develop my mobile application. In this application I implement some classes and codes manually for instance create all forms by hard coding not using codenameone designer for some reason. By the way I wanted to navigate in forms…
Ahmad
  • 437
  • 5
  • 20
1
vote
1 answer

LWUIT : How to Prevent Button change its color in J2ME

I've created an apps using LWUIT. It use the header bar, like this It use the container. Under this header bar container I've created the scroll able list. The strange part is, if I scroll this list, the color of the button (the menu button and…
giripp
  • 285
  • 1
  • 4
  • 13
1
vote
1 answer

LWUIT List not Scrollable

Is there any way in LWUIT to create a List which is not scrollable? There is no method to allow doing that thing. Can it be possible? I get it adding this List inside a Container not Scrollable and adding this Container to another Scrollable…
Mun0n
  • 4,438
  • 4
  • 28
  • 46
1
vote
3 answers

codenameone theme.res error

I've a problem to deploy Codenameone application in some some devices like Samsung. I tried to create application in manual mode without have an "theme.res" file. I added a form manually and ran it in Samsung device that hasn't OS (just support MIDP…
Ahmad
  • 437
  • 5
  • 20
1
vote
3 answers

LWUIT TextArea NullPointerException

I run LWUITDemo, Some UI can not be shown successful.All of them are TextArea contained by Form.If I change TextArea to Label, it work well. Sorry, I run it in nokia s40 sdk 2.0. When I run most of codes that include TextArea, exception…
YETI
  • 928
  • 3
  • 12
  • 24