void (final ActionEvent e) { if (!myDefaultBundleInitialized) { myDefaultBundleInitialized = true; Set<String> bundleNames = FormEditingUtil.collectUsedBundleNames(myEditor.getRootContainer()); if (bundleNames.size() > 0) { myTfBundleName.setText(ArrayUtilRt.toStringArray(bundleNames)[0]); } } CardLayout cardLayout = (CardLayout) myCardHolder.getLayout(); cardLayout.show(myCardHolder, CARD_BUNDLE); }