docs: private void initComponents() {
          setTitle("Validation Framework Test");
          setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
  
          // Create content pane
          String notForNimbus;
          if ("Nimbus".equals(UIManager.getLookAndFeel().getName())) {
              notForNimbus = "";
          } else {
              notForNimbus = "related[]";
          }
          JPanel contentPane = new JPanel(new MigLayout("fill, wrap 2", "[]related[grow]", "[]20[]related[]" +
                  notForNimbus + "related[]related[]unrelated[]"));
          setContentPane(contentPane);
  
          JLabel infoLabel = new JLabel("Fill in the fields with less than 10 characters.");
          infoLabel.setForeground(Color.GRAY);
          contentPane.add(infoLabel, "span 2");
  
          // Input fields
          contentPane.add(new JLabel("Sticker:"));
          textField1 = new JTextField();
          contentPane.add(textField1, "growx");
          contentPane.add(new JLabel("Foreground color:"));
          textField2 = new JTextField();
          contentPane.add(textField2, "growx");
          textField3 = new JTextField();
          if (!notForNimbus.isEmpty()) {
              // Changing the background color of a textfield with the Nimbus is not easy...
              contentPane.add(new JLabel("Background color:"));
              contentPane.add(textField3, "growx");
          }
          contentPane.add(new JLabel("Icon:"));
          textField4 = new JTextField();
          contentPane.add(textField4, "growx");
          contentPane.add(new JLabel("Icon with tooltip:"));
          textField5 = new JTextField();
          contentPane.add(textField5, "growx");
  
          // Apply button
          applyButton = new JButton("Apply");
          contentPane.add(applyButton, "skip 1, right aligned");
  
          // Set size
          pack();
          Dimension size = getSize();
          size.width += 100;
          setMinimumSize(size);
  
          // Set location
          Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
          setLocation((screenSize.width - size.width) / 2, (screenSize.height - size.height) / 3);
      }