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

Scrollable in my component

I can not set scrollale for center component. But NORTH and SOUTH have to be fixed. this.setLayout(new BorderLayout()); this.setScrollable(false); this.addComponent(BorderLayout.NORTH,…
Tim
  • 1,606
  • 2
  • 20
  • 32
1
vote
1 answer

What are ways to optimized LWUIT application?

I'm running in a bit of OC situation here. I'm developing an application using LWUIT 1.5. So I'm almost done with the application, I've already added transitions in fact. But I noticed that the application is lagging on the phone(My current test…
bernardnapoleon
  • 373
  • 1
  • 3
  • 13
1
vote
1 answer

Lwuit different behaviour on touch screen (arrow keys displayed)

My lwuit application works fine on my qwerty phone. However, when I transfer it to a touch screen phone an ugly black keypad comes up along with the application. The keypad consists of 4 arrow keys and 4 keys {A,B,C,D}. This keypad occupied almost…
Nikhil
  • 1,279
  • 2
  • 23
  • 43
1
vote
1 answer

J2ME: JSON Serialization/De-Serialization

I want to serialize and de-serialize (from a POJO) JSON objects for J2ME. I did go through few tools available like GSON etc. Since they use Java reflection, J2ME doesn't support the same.
Vijay Ravi
  • 19
  • 2
1
vote
2 answers

Is it possible to use ZXing with codename one?

I need to know whether Codename One supports zxing. If not, Is there any other way to scan the QR code with Codename One? I need to use this on both android and iPhone. Is it possible with Codename One?
bharath
  • 14,283
  • 16
  • 57
  • 95
1
vote
0 answers

Seekbar and Seek functionality in J2ME

How to design seekbar and its functionality for Video/Audio Player in J2ME? I've tried with Slider Component in LWUIT but it's not working perfectly. Used Sample piece of code from WTK samples but it's too tough to design other components if we use…
Vijay YD
  • 514
  • 1
  • 4
  • 15
1
vote
1 answer

LWUIT: Adding GIF Image to a label

I am trying to add a GIF image to a label (LWUIT 1.5). When I add the Gif image to "GIF Animation", it creates timeline images (individual images). Please help me as how to add the complete GIF animated image to the label. Note: The same was working…
Vijay Ravi
  • 19
  • 2
1
vote
1 answer

How to use lwuit Painter

I want create a set of buttons with Painter. I wrote next code class ListButton extends Button{ int id; ListButton(int id, final Image unsel, final Image sel, final Image pres) { this.id = id; …
Vladimir
  • 21
  • 2
1
vote
2 answers

How to put the selected Date of Calendar into a textfield in LWUIT 1.4 of J2ME

I am a new in the J2ME. I have searched a lot on the J2ME tutorial, but I did not find an answer. I am using the calendar component in LWUIT 1.4 and I want to set the selected date of the calendar into the textfield. I also used this link. But it…
Kirti
  • 9
  • 4
1
vote
1 answer

Code fails to show image - java.io.IOException at Image.createImage

I'm trying to create a splash screen using LWUIT. I want a form to load and display text and an imagefor 5 seconds then continue to the next form. I have a code but fails to show the image. The class and the image are stored together int he same…
sammyukavi
  • 1,501
  • 2
  • 23
  • 51
0
votes
2 answers

How to include a user component to LWUIT 1.5 GUI Builder?

I'd like to have any Form managed through the StateMachine generated from LWUIT's 1.5 GUI Builder but I have my component which extends Components and also my own Layouts. How to add them to gui builder as custom Component?
0
votes
1 answer

LWUIT createTrueTypeFace Font

I need to use a custom Font for my J2ME Application, the Font name is verdana, I'm using LWUIT, I have downloaded the .ttf file for my Font and add it to my package and tried to load it using Font.createTrueTypeFace method but I got --> unsupported…
Amira Elsayed Ismail
  • 9,216
  • 30
  • 92
  • 175
0
votes
2 answers

LWUIT Label: Using image as a label

I am using LWUIT but a problem I have is that when I use an image as a label like this: mapScreen = new Form("Map"); try { Image image = Image.createImage("/res/Map_new_1.jpg"); mapScreen.addComponent(new…
arthurbc
  • 95
  • 7
0
votes
1 answer

Creating offline map application in LWUIT

I am currently trying to create an offline map on LWUIT. But I have encountered some problems that I don't know how to solve or if it is even possible allowed in LWUIT. I am trying to use an image as a map, it has a file size of 300KB, but the…
arthurbc
  • 95
  • 7
0
votes
1 answer

Gradient Colors for Label in LWUIT

Can anyone tell me how to make a Label or TextField with two gradient color in LWUIT?
Amira Elsayed Ismail
  • 9,216
  • 30
  • 92
  • 175