mainWindow.setLocationRelativeTo(JHack.main.getMainWindow());
    protected void init()    {        mainWindow = new JFrame(getDescription());        mainWindow.getContentPane().setLayout(new BorderLayout());        JButton close = new JButton("Close");        close.setActionCommand("close");        close.addActionListener(this);        JButton gotob = new JButton("Goto");        gotob.setActionCommand("goto");        gotob.addActionListener(this);        JButton findb = new JButton("Find");        findb.setActionCommand("find");        findb.addActionListener(this);        mainWindow.getContentPane().add(            createFlowLayout(new JComponent[]{gotob, findb, close}),            BorderLayout.SOUTH);        JHexEdit t = hexEdit = new JHexEdit(new HexRom(rom));        mainWindow.getContentPane().add(t, BorderLayout.CENTER);        table = t.table;        mainWindow.pack();    }