Demo of a swing application that uses an editable grid

I want to create a swing application that uses a grid that you can edit and possibly sort. I know a little about labels, text fields, and buttons, but know nothing about a grid control. Can anyone point me to a source where I can find examples/demos?

Thank you for your help.
Who is Participating?

Improve company productivity with a Business Account.Sign Up

nesnemisConnect With a Mentor Commented:
You can look at =>

This is a table where you can edit some of the fields and you can sort all columns
zzynxSoftware engineerCommented:
>> I want to create a swing application that uses a grid that you can edit and possibly sort.
You mean a table?
zzynxSoftware engineerCommented:
>> You mean a table?
of which you can
- edit the cell values
- sort the rows according to a certain column

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

EwSAuthor Commented:
Yes, that's exactly what I need.
I also want a blank row at the bottom and be able to disable (gray out) and lock (can't edit) a range of cells, but I assume that's easy to do.
Yet, is it possible to place a button on top of a cell so that is looks like the part of it and when it's clicked, it displays a list, you select an entry from the list, and your selection is put back in the table cell?
Giant2Connect With a Mentor Commented:
EwSAuthor Commented:
All the comments were exremely helpful to me and prompt.
Please understand that I would like to give 500 points to one person, but I feel in this case it would be unfair, so I'm spliting the points between Giant2 (200 points) and nesnemis (300 points).  

Thank you for your help!
you're welcome!
Happy to help you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.