Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

MIDP2 and a new Item

Thread view: 
Chameleon - 23 May 2006 22:35 GMT
I create a "Screen" like class, similar to "List" but with completely
graphical menu.

Now I want to extend it to "Item" like (similar to ChoiceGroup).
When I select the "Item" and fire, It will display images and text.
When I made a selection, It will display title and text representation
of selection.

I think about a "StringItem", that when I click on it, it will display
the images and text.

Is possible, to catch an event when I click on StringItem?
David N. Welton - 24 May 2006 22:16 GMT
> I think about a "StringItem", that when I click on it, it will display
> the images and text.
>
> Is possible, to catch an event when I click on StringItem?

Not as far as I can tell.

If you want an environment where you can quickly and easily play around
with different GUI elements, have a look at Hecl:

http://www.hecl.org

Ciao,
Signature

David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/

Darryl L. Pierce - 26 May 2006 14:39 GMT
> I create a "Screen" like class, similar to "List" but with completely
> graphical menu.
[quoted text clipped - 8 lines]
>
> Is possible, to catch an event when I click on StringItem?

No. The high level UI items do not provide for firing low level
notifications like that. You can add an ItemStateListener that will be
notified when *something* changes, but when those notifications are sent
is undefined in the specification.

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Homepage: http://mcpierce.multiply.com
"Bury me next to my wife. Nothing too fancy, though..." - Ulysses S. Grant



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.