• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need help in JList

 
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,

I am looking for the code in the JList class that displays the items
according to the data found in the model.Can any body help me in this.

What I am trying to do is to extend the JList capacity.JList can at most
display (2 to the power 32)/2 items at any time because the ListModel getSize method is an int.And since int is singed data type, currently only the positive numbers are used. I am trying to use the negative numbers as well to extend the JList and ListModel capacity.

This whole thing might not be of great practical benefit, but it is a challenge between me and someone to do it.

Regards,
Khaled Mahmoud
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please don't post what is in effect the same question twice.
 
reply
    Bookmark Topic Watch Topic
  • New Topic