Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mwithi committed Dec 20, 2024
1 parent 465f9ff commit 28f10e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/org/isf/medicalinventory/gui/InventoryEdit.java
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ private JTable getJTableInventoryRow() throws OHServiceException {
jTableInventoryRow.getColumnModel().getColumn(i).setCellRenderer(new CenterTableCellRenderer());
}
if (columnDecimalNumber[i]) {
jTableInventoryRow.getColumnModel().getColumn(i).setCellRenderer(new DeciamlNumberTableCellRenderer());
jTableInventoryRow.getColumnModel().getColumn(i).setCellRenderer(new DecimalNumberTableCellRenderer());
}
}
jTableInventoryRow.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
Expand Down Expand Up @@ -2292,7 +2292,9 @@ public Component getTableCellRendererComponent(JTable table, Object value, boole
}
}

public class DeciamlNumberTableCellRenderer extends DefaultTableCellRenderer {
public class DecimalNumberTableCellRenderer extends DefaultTableCellRenderer {

private static final long serialVersionUID = 1L;

public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {

Expand Down

0 comments on commit 28f10e5

Please sign in to comment.