Is it possible to put a checkbox into a JTable header?
The idea is to have a column of checkboxes, and also a checkbox
in the header. Checking the one in the header causes all the
ones in the column to also become checked.
Any sample code, or any words about experience with trying something
like this, would be helpful. Thanks.
Andrew Thompson - 28 Jul 2005 11:53 GMT
> Is it possible to put a checkbox into a JTable header?
A quick perusal of the tame Swing examples shows a JList,
in a JTable header, so I imagine a JCheckbox would be similar..
<http://www.physci.org/codes/tame/applet.jsp>
The 'EditableHeaderTableExample2' is the one I am looking at.
Chase the links at the top of the page for further
details and source.
HTH

Signature
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
Not Affiliated With Futurama Brass Knuckle Co.
IchBin - 28 Jul 2005 16:04 GMT
> Is it possible to put a checkbox into a JTable header?
>
[quoted text clipped - 4 lines]
> Any sample code, or any words about experience with trying something
> like this, would be helpful. Thanks.
http://forum.java.sun.com/thread.jspa?threadID=544077&messageID=2642951

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com
__________________________________________________________________________
' If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)