File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Event handling Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "Event handling" Watch "Event handling" New topic
Author

Event handling

Manoj Paul
Ranch Hand

Joined: Jan 18, 2007
Posts: 109
Hi!

Can we add an event to List?

Like say: I want to display at the ticker the content of the list which is selected.
If I select List index[0], then the content of the List at zero will be shown at the ticker and so on for which ever index I select from the List.
When I press down the down arrow of my keyboard that particular index should be displayed only and not on Pressing the Ok button which goes for the commandAction (Command c, Displayable d) method. There must be some event handling for the problem which I am facing but not sure about it.

Using this code only display the text of the first selected item which is selected by default:



If someone can please throw some lights on this.

Thanks,
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Event handling
 
Similar Threads
Components not visible on start - visible later
JTabel
SELECT boxes in Netscape
Problem in Multiple Select of drop down
Drawing text inside a Graphics2D shape