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 / February 2007

Tip: Looking for answers? Try searching our database.

Problem with many items in List (jme)

Thread view: 
the_znail@hotmail.com - 31 Jan 2007 22:11 GMT
I'm developing a small application for my phone, there I need a long
list to chose a name of a city. Right now am I using List and add all
names to the list (120 names), but this seems like a bad idea since
many of the names are not drawn properly (no text at all for that
selection).

Looks like:
(Invisible City1)
City2
City3
City4
(Invisible City5 to City120)

Anyone got any idea how this could be fixed or any alternative to List
to display 120 names?

Regards,
/Marcus
Andreas Leitgeb - 01 Feb 2007 09:42 GMT
> I'm developing a small application for my phone, there I need a long
> list to chose a name of a city.
> [...]
> Anyone got any idea how this could be fixed or any alternative to List
> to display 120 names?

Best: don't.

Imagine the user faced with 120 elements in a list on his
cell phone, and his choice might be the 84th. A nightmare...
After he has typed the down-button 84 times (in a time where
he doesn't give up first and choose just any city), his
thumb probably falls right off ;-)

Rather add some element to pre-select the items: e.g.
 let him type the first few letters, and only then
    offer the list with filtered cities.
 let him first choose a country or state or region.
the_znail@hotmail.com - 01 Feb 2007 21:47 GMT
I could easily navigate by adding listeners for the buttons, so if you
want a caty starting on K, ju just hit the button 5 which has "JKL" as
letters..

But is there any way to display/repaint those items not displayed?

On 1 Feb, 10:42, Andreas Leitgeb <a...@gamma.logic.tuwien.ac.at>
wrote:
> the_zn...@hotmail.com <the_zn...@hotmail.com> wrote:
> > I'm developing a small application for my phone, there I need a long
[quoted text clipped - 15 lines]
>      offer the list with filtered cities.
>   let him first choose a country or state or region.


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.