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
0
votes
1 answer

LWUIT : Image as Background in Form

I have started using LWUIT which sounds interesting , i have made a form and has simply added an image to its background , my problem is that the image is getting streched and looks bad :D is there any way to set an image not to get stretshd on a…
aida
  • 153
  • 1
  • 9
0
votes
1 answer

Lwuit non static dialog having issue?

When I use Dialog form = new Dialog("Login"); Label userL = new Label("Username"); Label passL = new Label("Password"); TextField user = new TextField(); TextField pass = new TextField(); Container c = new Container(); c.addComponent…
aNi
  • 1,359
  • 11
  • 17
0
votes
1 answer

Java ME - lwuit radio button

public class StateMachine extends StateMachineBase implements ActionListener { Resources resources; RadioButton Verifi=new RadioButton("Verification") ; RadioButton Enroll=new RadioButton("Enrollment"); StateMachineBase cl=new…
gaurav
  • 3
  • 2
0
votes
1 answer

LWUIT Scrolling Clicking Issue

this is a very general Question to LWUIT. I'm developing for Nokia S40 phones. I'm having a List in a form which functions as a Menu. The Form has an ActionListener which listens to SoftkeyEvents and also the List click events. It's doing this by…
Carl
  • 215
  • 1
  • 11
0
votes
2 answers

how to write lwuit radio button code

I have my form Welcome on this form i have two radio buttons-Verification and enrollment and a OK button .when user select one of radio buttons and press OK then a form will show but i am not able to do that. Please help. this is my Statemachine…
gaurav
  • 1
  • 1
0
votes
2 answers

TextField contraint in LWUIT

I want to use textfield in my j2me application where in want to give constraint that user can enter 4digit numeric data only?? How can it be possible. i had used this:-TxtField1.setConstraint(TextField.NUMERIC); Which makes my textfield numeric but…
ios developer
  • 3,363
  • 3
  • 51
  • 111
0
votes
1 answer

sms receive form

I wanna display the message sent from wma console in LWUIT form... The sms are stored in record ... and I need to get the sms from the record .. I have stored the sms in record but having problem in retrieving it and displaying if…
RNZN
  • 107
  • 3
  • 12
0
votes
2 answers

ActionEvent textfield checking

I have cashform with atttributes pin,sendername,receivername,senderphone,amount and another form accountfrom with attributes pin,sendername receivername,senderphone,amount,bankname,account number.. both form have send Command Now, I want to check…
RNZN
  • 107
  • 3
  • 12
0
votes
1 answer

button lWUIT j2me setlocation

How can i set the Button location in LWUIT?? public void error() { error = new Dialog(); e = new Label("EMPTY FIELDS!!!"); t= new TextArea("You Can't Leave The Fields Empty...",8,13); error.addComponent(e); …
RNZN
  • 107
  • 3
  • 12
0
votes
1 answer

Focus in Calendar Component

What should I do to focus on the specific date in calendar component? I am not talking about indicator here. calendar.setCurrentDate() and calendar.setSelectedDate() gets the indicator on the date, but focus is always on date of 1st sunday. I have…
Mital Pritmani
  • 4,880
  • 8
  • 38
  • 39
0
votes
2 answers

How to place a Button in the center of a row?

I want to place a Button in the center of a row of a Container , the Button is the only component of the Container. How to achieve that ?
user806574
0
votes
1 answer

In J2me lWUIT Library how to arrange long text on Label?

I am using LWUIT Library. I want to add same long information of project on AboutUS FORM. I'm using label but information become lost. If I am not using TextArea then what is another Solution? My Another Question is, In Login Form, what should be…
0
votes
1 answer

In lWUIT, How to call main MIDlet class by click on back command?

My question is how to call main MIDlet class by clicking on back command? Suppose MainMIDlet.java this class extends Form and implements ActionListener and Aboutus.java this class extends also include Form with implements ActionListener. In this…
0
votes
2 answers

How to create ComboBox in J2ME?

I want to create a function which takes two arguments A String value (name) An array of String objects The function creates LWUIT Combobox with these two parameters and returns a ComboBox varialble... I have written following code ... public void…
Amit
  • 13,134
  • 17
  • 77
  • 148
0
votes
1 answer

Lwuit virtual keyboard error

When I click something in the keyboard this error is coming up java.lang.NullPointerException at com.sun.lwuit.VirtualKeyboard.actionCommand(+81) at com.sun.lwuit.Form.actionCommandImpl(+81) at com.sun.lwuit.Button.fireActionEvent(+47) …
aNi
  • 1,359
  • 11
  • 17