void () { myCurrentCard = CARD_OPTIONS; myMainPanel.remove(myCommandLinePanel); myMainPanel.add(myOptionsPanel, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 4, 4)); myExpandCollapseButton.setText(PyBundle.message("python.packaging.collapse.options")); }