Actually what i want to do is that on a click of a button , the selected row of the jTable increments to next row so that i can fetch that row to play the next song...how can i do that???
ashish2234
0
Light Poster
Recommended Answers
Jump to PostIn reposnse to a the buttons actionevent, get the curently selected row's number, add 1, selec that row. See JTable and DefaultListSelectionModel in the API.
All 5 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
ashish2234
0
Light Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
ashish2234
0
Light Poster
TheWhite
49
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.