tf = new JTextField(3);
tf = HackModule.createSizedJTextField(3, true);
    protected void init()    {        mainWindow = createBaseWindow(this);        mainWindow.setTitle(this.getDescription());        //make a JComboBox to select entry, and a JTextField to edit it        JPanel entry = new JPanel();        entry.setLayout(new BoxLayout(entry, BoxLayout.Y_AXIS));        selector = new JComboBox();        selector.setActionCommand("miscTextSelector");        selector.addActionListener(this);        entry.add(selector);                tf = new JTextField(3);        entry.add(tf);                listBox = new JComboBox();        entry.add(listBox);                colorBox = new JColorChooser();        entry.add(colorBox);                actionBox = new ActionEditor.ActionEntry("Action");        entry.add(actionBox);                textBox = new TextEditor.TextOffsetEntry("Text", true);        entry.add(textBox);                mainWindow.getContentPane().add(entry, BorderLayout.CENTER);        mainWindow.setResizable(false);        mainWindow.setSize(400, 100);    }