Questions tagged [lwuit-dialog]

LWUIT Dialogs allow us to prompt users for information and rely on the information being available on the next line after the show method.

16 questions
5
votes
2 answers

Strange LWUIT Dialog behaviour while using Dialog.showPacked() with BorderLayout.CENTRE positioning

I am using LWUIT for series 40 for making my J2ME app and I have noticed a strange behavior of the LWUIT-Dialog while using the showPacked() method, the dialog being positioned with BorderLayout.CENTER. This happens especially in touch phones. I…
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
1
vote
1 answer

How to Resize Dialog Box in LWUIT?

I have Created one Program Using Lwuit,Midlet. In that program I am showing Dialog box on the screen (LWUIT component) when I press mobile key. It shows default size. But I want to resize it. How can I resize the Dialog Box in LWUIT?
Shankar
  • 31
  • 8
1
vote
2 answers

Is this possible to use lwuit.Dialog with javax.microedition.lcdui.Canvas in wireless toolkit 2.5.2?

I am using javax.microedition.lcdui.Canvas for drawing my string on the screen. But I also need one dialog window for some purpose. So I am using lwuit package (com.sun.lwuit.Dialog) for showing dialog window when key pressing. So in my program I…
Saravanan
  • 11,372
  • 43
  • 143
  • 213
1
vote
3 answers

Lwuit S40 Dimmed Forms

I am developing a LWUIT S40 app. The guidelines specify that when a dialog is on, the background, including status bar, header bar, category bar, must be dimmed – 60% black. I think that this will happen automatically, but it doesn't. Anybody knows…
Mun0n
  • 4,438
  • 4
  • 28
  • 46
0
votes
1 answer

LWUIT javame Dialog dispose

I cannot seem to make the dialog in my javame program disapear. I have used dispose but nothing. Any help. Here is the code Dialog d=new Dialog("Comment added"); Label lb=new Label(response); d.setLayout(new BorderLayout()); …
0
votes
0 answers

how to close a dialog box in lwuit?

Possible Duplicate: How can I Dispose Dialog box From LWUIT Component I am Using the Following Lwuit code to display a Dialogbox. when I press Key 0 a dialog should show as like in Switch case 48. When I press Key 4 that dialog should be closed…
Shankar
  • 11
  • 5
0
votes
1 answer

How can I Dispose Dialog box From LWUIT Component

I am developing one project using LWUIT, Midlet mobile Application. when I press number keys a dialog box will open. when i press the keys #,0,* Dialog should be close. I am using Dialog.dispose() method to close dialog. But it is not working. Below…
Shankar
  • 31
  • 8
0
votes
1 answer

How set layout for Dialog?

I tried to use dialog.setLayout(BoxLayout.Y_AXIS); but it doesn't work. How can I set the layout?
Tim
  • 1,606
  • 2
  • 20
  • 32
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
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

Get KeyCode from Dialog in lwuit

I want to invoke the keyListener and get the keyCode while the dialog is being shown. I have tried extending Dialog and overrided the keyReleased() with no success. Below is my code, what went wrong? public class MyDialog extends Dialog{ public…
Ganesh
  • 179
  • 10
0
votes
2 answers

Hide Dialog from inside in LWUIT

I have created a Dialog with two buttons Yes, No, and then I have add action listener to them, my problem is that I want no button to hide the Dialog that I have created the code is looks like: dialog = new Dialog(title); …
Amira Elsayed Ismail
  • 9,216
  • 30
  • 92
  • 175
1
2