This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help in JList  RSS feed

 
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
Sheriff
Posts: 55324
157
  • 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!