setLocationRelativeTo(getOwner());
}
private void init() {
// Create the tileset table
tilesetTableModel = new TilesetTableModel(map);
tilesetTable = new JTable(tilesetTableModel);
tilesetTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
tilesetTable.getSelectionModel().addListSelectionListener(this);
JScrollPane tilesetScrollPane = new JScrollPane(tilesetTable);
tilesetScrollPane.setPreferredSize(new Dimension(360, 150));