@Test public void testCheckDeleteButtonStatus() { System.out.println("checkDeleteButtonStatus"); Object[] defaultValues=new String[]{"", "", ""}; ButtonPanelAddCopyRemove instance = new ButtonPanelAddCopyRemove(null, null, defaultValues); instance.checkDeleteButtonStatus(); }
public void checkDeleteButtonStatus() { deleteRowButton.setEnabled(tableModel != null && tableModel.getRowCount() > 0); }
ButtonPanelAddCopyRemove extends JPanel { public void checkDeleteButtonStatus() { deleteRowButton.setEnabled(tableModel != null && tableModel.getRowCount() > 0); } }
ButtonPanelAddCopyRemove extends JPanel { public void checkDeleteButtonStatus() { deleteRowButton.setEnabled(tableModel != null && tableModel.getRowCount() > 0); } ButtonPanelAddCopyRemove(JTable grid, PowerTableModel tableModel, Object[] defaultValues); }
ButtonPanelAddCopyRemove extends JPanel { public void checkDeleteButtonStatus() { deleteRowButton.setEnabled(tableModel != null && tableModel.getRowCount() > 0); } ButtonPanelAddCopyRemove(JTable grid, PowerTableModel tableModel, Object[] defaultValues); void checkDeleteButtonStatus(); }
ButtonPanelAddCopyRemove extends JPanel { public void checkDeleteButtonStatus() { deleteRowButton.setEnabled(tableModel != null && tableModel.getRowCount() > 0); } ButtonPanelAddCopyRemove(JTable grid, PowerTableModel tableModel, Object[] defaultValues); void checkDeleteButtonStatus();  }