#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Oct 17, 2009 8:22:56 GMT -8
Wow, I really haven't been around here in a while!
I am back with questions though:
I want to use a Java GUI list that contains rows and columns, as well as headers for each column. By columns, I mean that each row has multiple fields displayed (but the row can only be selected as a whole.
Can someone at least tell me what this sort of list is called? (Or even provide links that may help?)
|
|
inherit
17569
0
Aug 14, 2023 13:11:03 GMT -8
frufru
11,774
December 2003
frufru
|
Post by frufru on Oct 17, 2009 8:26:53 GMT -8
Wow, I really haven't been around here in a while! I am back with questions though: I want to use a Java GUI list that contains rows and columns, as well as headers for each column. By columns, I mean that each row has multiple fields displayed (but the row can only be selected as a whole. Can someone at least tell me what this sort of list is called? (Or even provide links that may help?) You mean like GridLayout? I think any more complicated and you're getting into GridBagLayout. Or you could have a look at different ones here: java.sun.com/docs/books/tutorial/uiswing/layout/visual.html
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Oct 17, 2009 11:11:01 GMT -8
Wow, I really haven't been around here in a while! I am back with questions though: I want to use a Java GUI list that contains rows and columns, as well as headers for each column. By columns, I mean that each row has multiple fields displayed (but the row can only be selected as a whole. Can someone at least tell me what this sort of list is called? (Or even provide links that may help?) You mean like GridLayout? I think any more complicated and you're getting into GridBagLayout. Or you could have a look at different ones here: java.sun.com/docs/books/tutorial/uiswing/layout/visual.htmlBelow is an image of the list type I am looking for (without any content): Another question on the same list: Is tyhe background striping a different element? Or is this a sort of list class that supports that type of thing? EDIT: Third question: Also regarding lists, is there a way with A JList (or any other type) to deslect the last item selected when the user clicks anywhere inside or outside the list (without clicking on list data)?
|
|