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

How to remove the screen dimming when is presented dialog?

I want to be able to press the other buttons on my screen when open dialog. Dialog menuDialog = new Dialog("Dialog Demo"); menuDialog.setTimeout(1000); menuDialog.show(90, 90, 10, 10, true);
Tim
  • 1,606
  • 2
  • 20
  • 32
0
votes
1 answer

TextField to DatePicker in lwuit

how do I convert a TextField to a DatePicker using calendar? please provide me an example
user496789
  • 107
  • 1
  • 4
  • 13
0
votes
1 answer

LWUIT assistance

import com.sun.lwuit.Button; import com.sun.lwuit.Command; import com.sun.lwuit.Display; import com.sun.lwuit.Label; import com.sun.lwuit.events.ActionEvent; import com.sun.lwuit.events.ActionListener; import…
fyzil
  • 25
  • 1
  • 4
0
votes
2 answers

How to get hard volume key event in J2ME LWUIT?

I am having a media player application built using LWUIT. My problem is that I am unable to increase/decrease the volume of the media player when the user presses any volume hardware key of the device. Please help.
Shafi
  • 1,368
  • 10
  • 24
0
votes
1 answer

pointing cursor over textarea in lwuit

How do we set the cursor in TextArea? Mainly the cursor should be visible to the user. The cursor is visible in the TextField where as it is not visible in the TextArea.How to set the cursor when the TextArea has focus?.
0
votes
2 answers

LWUIT HTMLComponent shows question marks on some samsung models

I'm creating a mobile app using LWUIT. I used HTMLComponent to show help text to user. Note that the help language is Farsi (which uses Arabic letters). On most handsets it works fine but on others (e.g. Samsung B3410W) it just shows questions…
mohsenof
  • 109
  • 2
  • 11
0
votes
1 answer

Why isn't Label shown when setting setLabelForComponent for a TextField?

There are Label, TextField and a Container in a Form. I set : ... private Container c = new Container(new BoxLayout(BoxLayout.Y_AXIS)); ... impay30 = new Label("Impayé…
user806574
0
votes
1 answer

Strange behaviour with Transitions

I set transitions to a Form : public class Ecran extends Form { private Transition transIn = CommonTransitions.createSlide(CommonTransitions.SLIDE_VERTICAL, true, 250); private Transition transOut =…
user806574
0
votes
1 answer

How to make it possible to add a LWUIT Form inside a LWUIT Form?

I tried to add a LWUIT Form into another LWUIT Form but I received an internal error in runtime : Installing suite from: http://127.0.0.1:1975/SmartPhoneBanking.jad java.lang.IllegalArgumentException: A form cannot be added to a container -…
user806574
0
votes
2 answers

How to test programatically that the third softbutton is present or not?

I want to know programatically if the third softbutton is present or not on a device. How to achieve that ?
user806574
0
votes
1 answer

Why is there a space gap when setting the padding of a Dialog to (0,0,0,0)?

I added a List to a Dialog. I tried all the possibilities : dialog.getContentPane().getSelectedStyle().setPadding(0, 0, 0, 0); dialog.getContentPane().getUnselectedStyle().setPadding(0, 0, 0, 0); dialog.getContentPane().getStyle().setPadding(0, 0,…
user806574
0
votes
3 answers

How to remove the dark shadow of the screen when a Dialog is shown?

When a Dialog is shown then the background of screen is darkened. I want to remove this darkness so that the screen looks like normal. How to achieve that ?
user806574
0
votes
1 answer

Why LWUIT ComboBox's blank item is not selectable?

I created a ComboBox of String[] : genretxt=new ComboBox(new String[]{"Féminin","Masculin"}); The problem is that the popup has a blank item when clicking the ComboBox at runtime , but this blank item is not clickable : even though I click it then…
user806574
0
votes
2 answers

How to get an int from a byte in J2ME?

I retrieved the backgroundTransparency of a LWUIT Button , and it returns a byte datatype data. I want this byte variable to be converted to an int variable. How to do that ?
user833129
0
votes
1 answer

LWUIT Blackberry TextField horizontal scroll

I have a problem with LWUIT textfield scroll right issue. I am using it to capture an email from the user and the problem happened when the user enters an email greater than the width of the text field. The text then go down and the user can't see…