code: public static JComponent createAdjustEditor ()
      {
          VGroupLayout layout = new VGroupLayout(
              VGroupLayout.NONE, VGroupLayout.STRETCH,
              3, VGroupLayout.TOP);
          layout.setOffAxisJustification(VGroupLayout.LEFT);
  
          JTabbedPane editor = new EditorPane();
          Font font = editor.getFont();
          Font smaller = font.deriveFont(font.getSize()-1f);
  
          String library = null;
          JPanel lpanel = null;
          String pkgname = null;
          CollapsiblePanel pkgpanel = null;
  
          int acount = _adjusts.size();
          for (int ii = 0; ii < acount; ii++) {
              Adjust adjust = _adjusts.get(ii);
  
              // create a new library label if necessary
              if (!adjust.getLibrary().equals(library)) {
                  library = adjust.getLibrary();
                  pkgname = null;
                  lpanel = new JPanel(layout);
                  lpanel.setBorder(BorderFactory.createEmptyBorder(3, 3, 3, 3));
                  editor.addTab(library, lpanel);
              }
  
              // create a new package panel if necessary
              if (!adjust.getPackage().equals(pkgname)) {
                  pkgname = adjust.getPackage();
                  pkgpanel = new CollapsiblePanel();
                  JCheckBox pkgcheck = new JCheckBox(pkgname);
                  pkgcheck.setSelected(true);
                  pkgpanel.setTrigger(pkgcheck, null, null);
                  pkgpanel.setTriggerContainer(pkgcheck);
                  pkgpanel.getContent().setLayout(layout);
                  pkgpanel.setCollapsed(false);
                  lpanel.add(pkgpanel);
              }
  
              // add an entry for this adjustment
              pkgpanel.getContent().add(new JSeparator());
              JPanel aeditor = adjust.getEditor();
              aeditor.setFont(smaller);
              pkgpanel.getContent().add(aeditor);
          }
  
          return editor;
      }
docs: Creates a Swing user interface that can be used to adjust all
  registered runtime adjustments.