@Action
    public void showRegexBox() {
        if (RegexBox == null) {
            RegexBox = new JDialog(new JFrame());
//            RegexBox.setLocationRelativeTo(mainFrame);
        }
        RegexBox.pack();
        RegexBox.setLocationRelativeTo(null); //to be centered on the screen

        RegexBox.setVisible(true);
//        VulnerabilityInjectorApp.getApplication().show(RegexBox);
    }