I need find out the number of elements are there in my Jlist. Can u show me a way to get it.
Here's how:
myJList.getModel().getSize();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With