This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi - i'm trying to load results from an oracle database into a JTable with a button in each row. Unfortunately, I'm having some difficulty with the getColumnClass which I understand is supposed to tell the JTable how to render the data contained in the column, which in this instance should be JButtons. The code below compiles ok:
but when the tablemodel is used in the JTable like
running the main class results in a null pointer exception - thus: