• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help in JList

 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • 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
 
Campbell Ritchie
Marshal
Posts: 52516
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't post what is in effect the same question twice.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!