Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / July 2005

Tip: Looking for answers? Try searching our database.

checkbox in JTable header?

Thread view: 
mitch - 28 Jul 2005 11:35 GMT
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-)



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.