4

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 window.

Please guide me to get out of this issue?

I have used alert box in j2me but I want one popup window instead of that

gnat
  • 6,213
  • 108
  • 53
  • 73
Saravanan
  • 11,372
  • 43
  • 143
  • 213

2 Answers2

4

You must use a Dialog. This is a class from LWUIT which allows you to build a popup window.

More info here:

http://www.lwuit.com/2008/07/pimp-my-lwuit-part-ii-rounded-all-over.html

http://lwuit.java.net/javadocs/com/sun/lwuit/Dialog.html

Mun0n
  • 4,438
  • 4
  • 28
  • 46
1

In j2me there is alert.We can use image in alert also.But for ur scenarios use LWUIT or J2ME Polish.In LWUIT,J2ME Polish there is possible to create pop up window , creating more stylish ui components.

I think we can use LWUIT with normal J2ME,i cannot know surely better u refer the LWUIT site.LWUIT is a sun's (oracle) product

SIVAKUMAR.J
  • 4,258
  • 9
  • 45
  • 80