private static void createAndShowGUI() {
    // Settings
    OLD_TF.setToolTipText("Use Ctrl+v or Command+v to paste text");
    NEW_TF.setToolTipText("Use Ctrl+v or Command+v to paste text");
    REASON_TF.setToolTipText("Enter an optional edit summary");
    BAR.setStringPainted(true);
    BAR.setString(String.format("Hello, %s! :-)", wiki.whoami()));
    BUTTON.addActionListener(e -> new Thread(new GRThread()).start());

    // Create GUI
    JFrame f = FGUI.simpleJFrame(TITLE, 3, true);
    f.getContentPane()
        .add(
            FGUI.buildForm(
                "Replacement",
                new JLabel("Old Title: "),
                OLD_TF,
                new JLabel("New Title: "),
                NEW_TF,
                new JLabel("Summary: "),
                REASON_TF),
            "Center");
    f.getContentPane().add(FGUI.boxLayout(1, FGUI.simpleJPanel(BUTTON), BAR), "South");
    FGUI.setJFrameVisible(f);
  }
  public static void main(String[] args) throws LoginException {
    wiki = FGUI.login("commons.wikimedia.org");
    checkVersion();
    signup();

    SwingUtilities.invokeLater(() -> createAndShowGUI());
  }