Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
SWT - Adding CheckBoxes to a list
Bhavani Kumar
Greenhorn
Posts: 15
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi,
can anyone tell me how to add checkboxes in a list ?
Rekha
Greenhorn
Posts: 7
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
go thru the following link for more info on creating list of check boxes.
http://manning.com/sbe/files/uts2/Chapter10html/Chapter10.htm
Regards,
Rajesh
Bhavani Kumar
Greenhorn
Posts: 15
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks for the help Rajesh ! But i was looking for how to add Checkboxes in SWT and not in Swing....a code snippet will be of great help.
Gregg Bolinger
Ranch Hand
Posts: 15304
6
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
JFace has a class called CheckBoxTableViewer that does what you want. There is an example of it in APress' SWT & JFace book. Sorry, but I don't have the time to type out all the code from the book.
Gregg Bolinger
Ranch Hand
Posts: 15304
6
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Ok, I found the source code for the book online. You can download the source from
here
.
The example is in the chapter 14 file. The three files to look at are:
BackupContentProvider.java
BackupFileLableProvider.java
BackupFiles.java
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
retrieving users' bookmarks
how can we view the two lists on a single display???
display in Jsp
coding for list boxes
jsp - checkbox information retieval problem
More...