How would I go about changing the boolean string to a JCheckBox in JTable?
问题 Alright. I have implemented a custom JTable model that includes the whole @Override public Class<?> getColumnClass(final int column) { and inside that I have if (column == 0) return Boolean.class; When I run, and I go to the JTable , instead of a checked JCheckbox , it says true. When I click on it, it turns into a JCheckBox until I unclick and then either says true or false. WHAT AM I DOING WRONG!!??? 回答1: really don't know, you can compare your code with note both definitions for Column