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

LWUIT Table Layout embedded TextAreas

my goal is to display a Table through parsing an XML file. I'm using a SAX Parser and the content has multirows and I want the table width to fit to the display. Of course Y_AXIS scrolling would be ok. Right now, I'm using the HTMLTableModel of…
Carl
  • 215
  • 1
  • 11
1
vote
1 answer

How to center align a list using LWUIT

i am having problem aligning a list items to center. plz help me. here is the code i have done. import com.sun.lwuit.Command; import com.sun.lwuit.Component; import com.sun.lwuit.Display; import com.sun.lwuit.Form; import com.sun.lwuit.Image; import…
Bikesh
  • 91
  • 4
  • 13
1
vote
2 answers

Lwuit Create an empty Line between two Containers

I'd like to create an empty line between to containers embedded in my form with BoxLayout Y_Axis. The following piece only shows "test1 test", but I'd like to have "test1 test2" or even more lines.. import com.sun.lwuit.Container; import…
Carl
  • 215
  • 1
  • 11
1
vote
2 answers

LWUIT j2me textfield

how can I create a TextField ..plz help me out in LWUIT TextField pin = new TextField ("",TextField.PASSWORD|TextField.URL); cashpayform.addComponent(pin); cashpayform.show(); cashpayform.addCommand(exit); …
RNZN
  • 107
  • 3
  • 12
1
vote
1 answer

lcdui vs lwuit command difference

i am used to working with lcdui interface but i want to work with lwuit interface. Can any one tell me the different command list. package newpackage; import java.io.IOException; import javax.microedition.midlet.*; import com.sun.lwuit.*; import…
RNZN
  • 107
  • 3
  • 12
1
vote
1 answer

How to sort recordstore records based on a certain field in it?

For example there are three records in a recordstore , and the structure of a record in the recordstore is like this : lastname;firstname;moneyborrowed I want to show these three records inside a LWUIT Table and I want them to be sorted by the…
user806574
1
vote
4 answers

In J2ME Using LWUIT library. How to call another Form?

How to call another Form? When I used form.show() method, component of another form are not displayed. Example... FirstForm.java public class FirstForm extends MIDlet implements ActionListener { Form frm_first = new Form("First"); public…
1
vote
3 answers

In LWUIT, how can i add multiple container/Layout on single Form?

In J2ME I am Using LWUIT library. My problem is I want to add various component on single Form using different layout or Container. I am looking for some code or example. Example.. add Header image on top of the Form. Adding two label, two…
1
vote
1 answer

LWUIT - Create new line in Flowlayout

from flying through the source code of the HTMLComponent, the method for creating a line break in a Form filled with labels the proper method is embedding the labels in a container and the newline actually creates a new container. Is this the…
Carl
  • 215
  • 1
  • 11
1
vote
1 answer

How to skip the questions when using FileConnection?

I want to display photos stored in the phone , and I use the FileConnection and the openInputStream stuff. The problem is that there are many questions that I must accept when launching the program ; they are all about access to the file system or a…
user806574
1
vote
1 answer

LWUIT 1.4 preverification errors in Eclipse Pulsar + Java Micro Edition SDK 3.0

I am experiencing some preverification error as decsribed in the object. I googled a lot around before to post this question but found very few responses, most of them very old (2008, 2009) or simply "Pass to NetBeans" ;) My project includes the…
Giorgio Vespucci
  • 1,586
  • 3
  • 18
  • 30
1
vote
1 answer

How to get the number of pixels vertically and horizontally?

I want to show a Dialog with the method signature show(int top, int bottom, int left, int right, boolean includeTitle) I want to place this Dialog in the center of the screen. So I want to know the total number of pixels of the screen vertically and…
user806574
1
vote
1 answer

How to remove the line between Dialog title and Dialog Body?

When calling Dialog.show("title", "text", "ok", "cancel") then in runtime there is a line break between the Dialog title and its body. How to remove this line break because the Dialog is not very pretty to look ?
user806574
1
vote
2 answers

How to ticker List elements when they are Commands?

If I create a List based on an array of Commands, and the text of some Commands are not entirely shown in the List, although the List preferredWidth is set to the Form preferredWidth, how to ticker them ? Thank you very much
user768004
1
vote
1 answer

How to enable tickering with TextField's?

I want that when the length of the text of a TextField is larger than the TextField's preferredWidth then the TextField should ticker. How to achieve that ? Thank you very much
user768004