Meaningless Drivel is fun!*
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: 19651
    
  18

How about showing an SSCCE?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: null pointer exception when clicking on JCheckbox
 
Similar Threads
Problem with JTable
Problems with JTable editing (error message included)
JTable
JTable
JTable woes