A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Today (12/10) is CodeRanch Day in
Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
Swing / AWT / SWT
Joined: Feb 17, 2009
May 29, 2009 03:30:25
Please can you tell me how i can use a custom CheckBox . and what is the code.
i want to put custom checkbox in My Jtree.
Thanks & Regards,
Joined: Jul 26, 2007
May 29, 2009 04:14:29
, JTrees also use Renderers. You will need to provide a custom renderer which renders the required nodes as JCheckboxes instead of JLabels, which are the default.
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
Joined: Jun 09, 2003
May 29, 2009 04:44:23
did you get your checkbox in a
Joined: Oct 27, 2005
May 29, 2009 11:54:30
You'll probably also have to handle the mouse clicks on the check boxes manually.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
It is sorta covered in the
JavaRanch Style Guide
subject: Custom CheckBox
logic problem or thread problem?
Nest the selectOneRadio Under the selectManyCheckbox
Nested JSP Expressions not working
how to put images on displaytags column header????
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013