Set column width

This commit is contained in:
Darkress
2023-06-08 02:15:37 +02:00
parent 7ef8a285e0
commit 43e79778fe
2 changed files with 33 additions and 18 deletions

View File

@@ -6,6 +6,7 @@ import de.darkress.pic16f84sim.gui.SramTable;
import de.darkress.pic16f84sim.microcontroller.Memory;
import de.darkress.pic16f84sim.microcontroller.ProgramCounter;
import javax.swing.*;
import java.util.ArrayList;
class Main
@@ -21,6 +22,13 @@ class Main
program.get(ProgramCounter.getPc()).execute();
}
SramTable.table();
SramTable table = new SramTable();
JFrame frame = new JFrame("Table Example");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.add(table.getTable());
frame.pack();
frame.setVisible(true);
//table.setValueAt("test", 15, 7);
}
}