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 Wrong size of scrollbar recalculate?

I'm using LWUIT on a Nokia Device. The Form which is displayed contains several different LayoutManagers(), Flow+Y_AXIS and many Labels. Those get added in a Class which parses an XML file. This class gets returned and is displayed by another Class.…
Carl
  • 215
  • 1
  • 11
0
votes
1 answer

How to reduce space gap between lines of a GridLayout?

I created a container which has a GridLayout as its layout manager. I set 10 lines and 2 columns for the grid. I want to reduce the space gap between the grid lines. How to achieve that ?
user806574
0
votes
1 answer

LWUIT 1.4 Plain commands Vs. Styled commands with LWUITTheme.res

I've just started to develope an LWUIT MIDlet with standard LWUITTheme.res. I added 2 commands (Exit, Search) on my first form, but they appear with no style (black on white). Instead, other 2 commands (Back, Details) on a second form, showed on…
Giorgio Vespucci
  • 1,586
  • 3
  • 18
  • 30
0
votes
1 answer

Why does not the pointerPressed method work in this situation?

I created a java class which extends CustomItem : package view; import com.sun.lwuit.Dialog; import javax.microedition.lcdui.CustomItem; import javax.microedition.lcdui.Graphics; import javax.microedition.lcdui.Image; public class Thumb extends…
user806574
0
votes
1 answer

How to create a LWUIT Image object from a MIDP native image?

In the documentation of LWUIT there is the createImage method which creates a LWUIT Image object from a MIDP native image ( public static Image createImage(java.lang.Object nativeImage) ). I want to know how to implement the java.lang.Object…
user806574
0
votes
2 answers

RecordStore and photos taken from the phone

When the user takes photos with his phone I want LWUIT to get a specific photo to add to a recordstore and later retrieve that photo. How to achieve that ?
user768004
0
votes
1 answer

Wrong selectedRow returned with touch device

I want to work with the selected row of a Table when the device is a touch one in the pointerPressed method , and what I get is a wrong value : for example I clicked the third line ( PS : the header line is -1 ) and I got 0 as a value in the…
user768004
0
votes
2 answers

How to work with tactile devices?

I am stuck on this problem : I want to execute an action when the user clicks with the pen device on a Table row (or cell) if the device is a tactile one ( for example the DefaultFxTouchPhone1 with Sun JavaME WirelessToolkit SDK 3.0 ). I tried to…
user768004
0
votes
1 answer

I cannot center the text of a userdefined Button

I created a Button and I set its UIID to boutonPpal. I set the bgAlign attribute to ALIGN_CENTER in the resource Editor but the text of the Button is not centered at runtime ! So how to make the text centered ?
user768004
0
votes
1 answer

How to add the "é" in a Font with the resource Editor?

In the resource Editor I created a Font , and I checked the "Create Bitmap" checkbox. The problem is that the "é" is not included in the "Charset". So how to include the "é" ? PS : What does "anti-aliasing" mean ?
user768004
0
votes
1 answer

lwuit + blackberry how to build it show access denied

Hi every one please any one help me how to build blackberry lwuit svn generated hello world example in blackberry simulator. i have problem in building when i build blackberry rim app in netbeans it it build with out error but it show access denied…
Bhavdip Sagar
  • 1,951
  • 15
  • 27
0
votes
1 answer

How to make cell Label components of a Table to occupy all of the grid cell area?

I have a Table , and I set its components UIID to oddRowsCell and evenRowsCell if the row is odd or even. In the resource editor I set background color styles for both UIID in the selected and unselected options. The problem is that in runtime the…
user768004
0
votes
1 answer

lwuit and blackberry: access denied when deploying

I have made an application using lwuit svn in j2me cldc. I am now working on lwuit + BlackBerry device. When I build the project through the lwuit resource tools it creates three projects: desktop, MIDP, and BlackBerry. I use the BlackBerry…
Bhavdip Sagar
  • 1,951
  • 15
  • 27
0
votes
2 answers

How to set a title for a Border with LWUIT 1.4 ? How to coloriate odd and pair Table rows?

I use LWUIT 1.4 1) In my Form there is a Container based on a BoxLayout ( Y axis ) , there are two Label's added to this container , and I want to create a titled Border to be placed into the container so it surrounds the two labels. I know to…
user768004
0
votes
1 answer

Representing tables in the LWUIT browser

I am trying to have a horizontally scrolling table within a HTMLComponent as the tables can be wider than the width of the mobile phone and I don't want the user to have a wrapped table. I set setScrollableX(true) for HTMLTable, but I am having a…
Gooner
  • 1,380
  • 2
  • 14
  • 25