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

Hide virtual keyboard for fullscreen j2me app

I developed a J2ME app using LWUIT and it works fine but when I try the app on a mobile phone with Windows Mobile 6 it displays the virtual keyboard overlapping the softkeys until I double clik it. I already tried to use the following attributes on…
rjlopes
  • 2,430
  • 4
  • 21
  • 23
1
vote
1 answer

Expand and Collapse feature in LWUIT

How can i implement the below feature for a list in LWUIT. Please provide the code for it ... http://www.designgala.com/demos/collapse-expand-jquery.html
user1635256
  • 111
  • 1
  • 11
1
vote
1 answer

Error at start app

Sometimes, in the first screen of my app, appears the following error. java.lang.ArrayIndexOutOfBoundsException: 5 >= 5 at java.util.Vector.elementAt(Vector.java:427) at com.sun.lwuit.Container.getComponentAt(Container.java:844) at…
Mun0n
  • 4,438
  • 4
  • 28
  • 46
1
vote
3 answers

How to do an action when a LWUIT List item clicked

I have a LWUIT application that has a list which involving some items. The list itself has been added to a Combobox . 1/ How I change the colour of an item of list when I focus on it? final com.sun.lwuit.List mylist = new…
PHPFan
  • 756
  • 3
  • 12
  • 46
1
vote
3 answers

How I count all the number of records in a RecordStore

I have a LWUIT app that should display the number of records in a LWUIT list. To get all the records I use a method called getRecordData() that returns all records as a String array, it works fine. But how do I count the number of these…
PHPFan
  • 756
  • 3
  • 12
  • 46
1
vote
2 answers

LWUIT move all commands from the form to the "slide context menu"

I am trying to make a calculator for nokia 501 asha and i want all my buttons to fit on the the screen so that i don't have to scroll the form to access all buttons. Apparently adding commands like exit,about and help are mandatory to your app. Now…
user2497398
  • 61
  • 1
  • 1
  • 4
1
vote
1 answer

LWUIT TextArea issue

I have created LWUIT TextArea. I want to reduce my TextArea's font size. I have used the code below: public class TextAreaMidlet extends MIDlet { public void startApp() { Display.init(this); Form mForm = new Form("Text Area"); …
Tan Nguyen
  • 97
  • 1
  • 7
1
vote
1 answer

implement dependent combo box using lwuit

private void buildUI() throws Exception { try { Display.init(this); countryLabel = new Label(resources.getString("Label10")); countryLabel.setSelectedStyle(DefaultLayout.labelStyle()); …
seipl
  • 11
  • 3
1
vote
0 answers

LWUIT: How to open XHTML file from resource?

I want to open XHTML file which resides in resources. I tried with HTMLComponent of LWUIT. But it is opening only HTML files only. What would be correct way to open XHTML file using any LWUIT component.? I tried with below code. Its working for HTML…
user1134427
  • 111
  • 1
  • 8
1
vote
1 answer

Midlet is not abstract and does not override abstract method focusLost(com.sun.lwuit.Component)

I have a LWUIT class which has a List, the list itself contains a Label as an item. My idea simply to make an action for the list when I focus on the label. I get the following error, when compiling the class: anonymous Midlet$2 is not abstract and…
PHPFan
  • 756
  • 3
  • 12
  • 46
1
vote
1 answer

how can we fix rotation of screen in codenameone?

I am making a application in code name one, and as my requirement I want my screen fix. like only portrait view or landscape view. How we can do it? Please help.
vikrant kumar
  • 208
  • 2
  • 14
1
vote
2 answers

Closing dialog on action of button in codename one

I make a dialog in which we have some buttons. on action of one of that button i want to finish dialog. I don't want to add any command in it. Please help. Here is my code. Form form = (Form) createContainer("/theme", "MYDialog1"); …
vikrant kumar
  • 208
  • 2
  • 14
1
vote
2 answers

Multi Line Button in codename one

I have to display a text line as a button. The text of line is more then limit of line so when i display it in button it scroll the text rather then display multi line button. Please help to make it multi line.
vikrant kumar
  • 208
  • 2
  • 14
1
vote
1 answer

multiple colors of label in combobox

I want to display a text in button in codename-one application which having a 1 word in red and 1 word in Blue and rest are in black. How can we do it. Please help.
vikrant kumar
  • 208
  • 2
  • 14
1
vote
1 answer

Display lcudi.canvas from lwuit Form

I have two classes in one package one extends lcudi.Canvas and another extends lwuit.Form I create two buttons on my Form My purpose is displaying the canvas when one of the buttons is pressed. In my mind this function should display the…
PHPFan
  • 756
  • 3
  • 12
  • 46