Skip to content

Commit

Permalink
renamed inner class
Browse files Browse the repository at this point in the history
  • Loading branch information
robert.fisch committed Oct 11, 2024
1 parent fe44914 commit f9369ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lu/fisch/structorizer/locales/TranslatorTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public TranslatorTab() {
initComponents();

// configure the table
table.setDefaultRenderer(Object.class, new BoardTableCellRenderer());
table.setDefaultRenderer(Object.class, new BoardTableCellRendererTT());
table.setRowHeight(25);

table.setModel(new TranslatorTableModel());
Expand All @@ -92,7 +92,7 @@ public TranslatorTab() {
TableColumn col3 = table.getColumnModel().getColumn(3);
col3.setHeaderValue(" ");
int pulldownWidth = IconLoader.getIcon(80).getIconWidth();
col3.setCellEditor(new BoardButtonEditor());
col3.setCellEditor(new BoardButtonEditorTT());
table.getColumnModel().getColumn(3).setMaxWidth(pulldownWidth);
table.getColumnModel().getColumn(3).setPreferredWidth(pulldownWidth);
// END KGU#709 2019-06-06
Expand Down Expand Up @@ -159,11 +159,11 @@ private void initComponents() {
*/
// FIXME: This code is identical with PullDownButtonCellEditor
@SuppressWarnings("serial")
class BoardButtonEditor extends DefaultCellEditor {
class BoardButtonEditorTT extends DefaultCellEditor {
protected JButton button;
private JTable table;

public BoardButtonEditor() {
public BoardButtonEditorTT() {
super(new javax.swing.JCheckBox());
}

Expand Down Expand Up @@ -199,7 +199,7 @@ protected void fireEditingStopped() {
}
// END KGU#709 2019-06-06

class BoardTableCellRenderer extends DefaultTableCellRenderer {
class BoardTableCellRendererTT extends DefaultTableCellRenderer {

Color backgroundColor = getBackground();

Expand Down

0 comments on commit f9369ef

Please sign in to comment.