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: Styling a Button

I have a J2ME LWUIT app and I'm trying to change the width and background color of a button. The button is in a BoxLayout. I'm using code like this: btnLogout.setPreferredW(210); btnLogout.getStyle().setFgColor(0x00dcc5); …
James Harpe
  • 4,315
  • 8
  • 47
  • 74
0
votes
1 answer

LWUIT in J2ME: setting the style of a list cell when pressed

I have a LWUIT J2ME app with a List. I would like for the background of a cell to change when it is clicked. The first thing I had to do was set the background transparency and color of the whole list when it is selected. Otherwise, the background…
James Harpe
  • 4,315
  • 8
  • 47
  • 74
0
votes
1 answer

LWUIT Get combobox selection

I'm a nwebie in LWUIT. I have created a theme using the resource editor and generated a code. In the form the user selects the county then presses a continue command. How do I get what the user selected using the command and how do I show the next…
sammyukavi
  • 1,501
  • 2
  • 23
  • 51
0
votes
1 answer

Explicitly call a Tab in Tabbed Pane in LWUIT

By default a TabbedPane in LWUIT shows the first tab or tab at Index 0, how can i make it show the second tab or tab at index 1. Pls provide the piece of code where i can explicitly call a particular tab and show that particular tab instead of first…
user1635256
  • 111
  • 1
  • 11
0
votes
2 answers

Adding Form to Tabs in LWUIT

Is it possible to add Form to Tabs Class in LWUIT ?? As per the API tabs contain method to add only component. If yes please provide a sample code how to add it.. Will it be like - new Tabs.addTab("Title", form.show()) or how it is ??
user1635256
  • 111
  • 1
  • 11
0
votes
1 answer

Nokia S40 LWUIT Back Button

I'm building a nokia s40 app. I've set this app to be in full screen mode and I notice that when I set this full screen mode, I've lost the native back buttons. I need to build a back button like the native back button (always on screen, in the…
Mun0n
  • 4,438
  • 4
  • 28
  • 46
0
votes
2 answers

Nokia S40 custom header bar

I'm building a custom header bar for Nokia S40, in LWUIT. I've found 2 issues. My Form has a BorderLayout and I've added the header bar (Container) in the NORTH. This container doesn't fill the width of the Form, as the CategoryBar does. I try with…
Mun0n
  • 4,438
  • 4
  • 28
  • 46
0
votes
1 answer

Regional font in J2ME Lwuit

Am developing a j2me-lwuit app in which i need to show some information in Indian Regional langauges such as (Gujrati, Marathi, Telugu). My app works find for some of Nokia S40 devices. but on some mobiles it shows the square blocks. I have tried…
0
votes
2 answers

How to custom list item with 2 texts and image in Lwuit, j2me

Basically I do like this list = new List("Hello List", List.IMPLICIT, LIST_ITEMS, null); ... list.append(titles,images); // 1 text, 1 image but, I wanna add descriptions to list item too. (titles, descriptions, images) How can I do that? Do you…
April Smith
  • 1,810
  • 2
  • 28
  • 52
0
votes
1 answer

LWUIT Container Style, importing from resource editor

I'm building a Container using code and now I want to set the Styleusing one UnselectedStyle from the Resource Editor. I'm doing this because, I don't find the way to add a LinearBackground color and a RoundBorder to my Container. When I put the two…
Mun0n
  • 4,438
  • 4
  • 28
  • 46
0
votes
1 answer

RuntimeException ....You must include the platform port before the LWUIT in the classpath

Please help me, I searched a lot (almost every link & post) but didn't get answer. I am getting: RuntimeException ....You must include the platform port before the LWUIT in the classpath This error when I run my lwuit application on blackberry…
TechHelper
  • 822
  • 10
  • 24
0
votes
1 answer

OutOfMemoryError in LWUIT Table

I am developing an app for S40, focused to work in the Nokia Ahsa 305. In some pages of the app, I show some tables filled with so many data (21 rows with 10 columns, like 210 Label data). When I show that table the memory use, rise a lot and when I…
Mun0n
  • 4,438
  • 4
  • 28
  • 46
0
votes
1 answer

lwuit open default email/mail client from button

Please tell me how do I open he default email client from a lwuit button? and also predefine its subject and email address. I know how to use buttons. I would appreciate code for email client. (cant find on internet) using nokia s40 sdk from…
0
votes
1 answer

how to set timeout on image render from internet in lwuit

I have a dynamic page that displays a lot of images from internet. Some images are heavy and take too much time. So I want to set a timeout period after which default image from resources will be loaded. Kindly tell me how to set timeout on image in…
0
votes
1 answer

LWUIT can't kill connection request

Well, I have download an image from network using LWUI ImageDownloadService. While download progress, a Progress Dialog display. I want to stop downloading by pressing Cancel command. But it still downloading. What can i do to stop the download? My…
Tan Nguyen
  • 97
  • 1
  • 7