aspose file tools
The moose likes Swing / AWT / SWT and the fly likes null pointer exception when clicking on JCheckbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "null pointer exception when clicking on JCheckbox" Watch "null pointer exception when clicking on JCheckbox" New topic
Author

null pointer exception when clicking on JCheckbox

sonali majumdar
Greenhorn

Joined: Jul 21, 2010
Posts: 2
Hi all,
I have overridden the JTable Header of my JTable to show a JCheckbox. I get this error each time I select/deselect. This error is only on JRE1.6. It does not occur on JRE1.5.
Let me know if anybody has faced a similar problem and what is the solution ?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
checkbox in header works OK for me, using java 1.6.0_20/vista
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19899
    
  22

How about showing an SSCCE?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: null pointer exception when clicking on JCheckbox