Questions tagged [lwuit-form]

LWUIT offers a comprehensive toolbox for showing information on forms

Top level component that serves as the root for the UI, this Container handles the menus and title while placing content between them. By default a forms central content (the content pane) is scrollable. Form contains Title bar, MenuBar and a ContentPane. LWUIT offers a comprehensive toolbox for showing information on forms and receiving user input, including many familiar components such as labels, buttons, and lists. Simply create the components you want to use and pass them to the form's addComponent() method.

95 questions
4
votes
1 answer

How to detect key pressed event in LWUIT form?

I have written simple j2me program with LWUIT package.I have added one Form in my MIDLET class file. Suppose,user press a key then I want to show another Form.But I couldn't be able to capture key event in my LWUIT Form. This is my code…
Saravanan
  • 11,372
  • 43
  • 143
  • 213
4
votes
2 answers

how to create popup window when pressing numeric keys in sun java wireless toolkit 2.5.2?

I want to create popup window in sun java wireless toolkit when pressing numeric keys on Mobile. I don't know whether it is possible or do need to use some additional technologies for that? And also I want to draw some strings on the popup…
Saravanan
  • 11,372
  • 43
  • 143
  • 213
4
votes
1 answer

J2ME in Eclipse with LWUIT - got an Exception

I have created so many J2ME Applications in NetBeans. now I want to create J2ME Applications in Eclipse instead of NetBeans. so I am new to Eclipse and I have installed MTJ Plug-in in Eclipse 3.7.2 Indigo and also J2ME wireless Toolkit for…
Riddhi Barbhaya
  • 1,205
  • 1
  • 11
  • 19
3
votes
1 answer

Prevent last component of LWUIT form from losing focus when down arrow key is pressed

I have a lwuit Form to which I have added a Container. The Container has a TextArea, some RadioButtons and finally another Container which has some Buttons. 1)TextArea 2)RadioButtons 3)Another Container with some Buttons Now if the focus is on my…
Nikhil
  • 1,279
  • 2
  • 23
  • 43
3
votes
1 answer

You must include the platform port before the LWUIT in the classpath: How to solve this run time exception?

Possible Duplicate: You must include the platform port before the LWUIT in the classpath runtime exception I am just now started the LWUIT use in J2ME. I don't have more knowledge of LWUIT but I know better J2ME. I have added library of LWUIT in…
Mr. Sajid Shaikh
  • 7,051
  • 4
  • 21
  • 35
3
votes
1 answer

How to make visible notification bar (battery info, clock etc.), when I use my java me app?

I have an app (LWUIT, Java Me). When I run the app on device, it occupies the complete screen. But I want the top panel (notification bar of device) to be visible. What are the solutions? Are there any settings for lwuit?
Tim
  • 1,606
  • 2
  • 20
  • 32
3
votes
4 answers

How do you add a line break in a Label using LWUIT?

I've created a Label on a Form, but is too large to show it in one line, is it posible make a break line? I am using LWUIT on J2ME. Thank you.
grouser
  • 618
  • 8
  • 23
3
votes
1 answer

can't re-launch LWUIT Application after calling destropApp() on Wireless Toolkit 2.5.2?

I am using Sun java wireless toolkit 2.5.2 and LWUIT for my j2me application.I have added one Command Exit. When pressing the Exit Command,i just calling destroyApp(true); It is successfully exited and then emulator shows the launching screen.Now,if…
Saravanan
  • 11,372
  • 43
  • 143
  • 213
3
votes
1 answer

How to remove focus from LWUIT Textfield and resize Form correctly when Virtual Keyboard hides?

I'm facing a problem with the LWUIT's Textfield. In some of my Forms I display a CategoryBar, while in others I hide it. In some of the Forms I have Textfields, the problem presents itself when I focus on one and make the Virtual Keyboard (VKB) to…
Uriel Arvizu
  • 1,876
  • 6
  • 37
  • 97
2
votes
1 answer

Get Canvas in LWUIT app

I tried set fullScreenMode(false) for my app (LWUIT). But can not get Canvas. 1 way: com.nokia.mid.ui.LCDUIUtil.setObjectTrait(javax.microedition.lcdui.Display.getDisplay(this).getCurrent(), "nokia.ui.canvas.status_zone", Boolean.FALSE); 2 way:…
Tim
  • 1,606
  • 2
  • 20
  • 32
2
votes
2 answers

How place the components the front of another one?

I want to place the components A and B over component with List. I need that would text of list will be to visible. I can not find which layout can do it. How this behavior is in lwuit? What solutions exist?
Tim
  • 1,606
  • 2
  • 20
  • 32
2
votes
3 answers

How to set background image for Dialog?

I am trying to do this: public class DialogMenuHawaii extends Dialog { Style s = UiFactory.getBaseStyle(); s.setBgTransparency(0); s.setBgImage( ); this.setUnselectedStyle(s); } but it doesn't work.
Tim
  • 1,606
  • 2
  • 20
  • 32
2
votes
1 answer

Different border for Dialog. Set style for one

How I can set different border for Dialog. for bottom, top, left and right border. I need to set round angle for bottom left and right angles. But top angles have to be direct.
Tim
  • 1,606
  • 2
  • 20
  • 32
2
votes
2 answers

How create drop down menu, use LWUIT? What solutions exist?

I need to create drop down menu (see the picture). What methods are there? What should I use?
Tim
  • 1,606
  • 2
  • 20
  • 32
2
votes
1 answer

How to know programmatically the actual modified component?

In J2ME there is the interface ItemStateListener which can detect exactly the item which is being changed. Is there a similar way in LWUIT ? I tried using the DataChangedListener interface but it gives the character position within the TextField ,…
user806574
1
2 3 4 5 6 7