Set column width
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user