use of com.intellij.ui.components.panels.VerticalBox in project android-parcelable-intellij-plugin by mcharmas.
the class GenerateDialog method createSouthPanel.
@Nullable
@Override
protected JComponent createSouthPanel() {
JComponent southPanel = super.createSouthPanel();
if (showCheckbox && southPanel != null) {
final VerticalBox combinedView = new VerticalBox();
combinedView.add(includeSubclasses);
combinedView.add(southPanel);
return combinedView;
} else {
return southPanel;
}
}
use of com.intellij.ui.components.panels.VerticalBox in project intellij-community by JetBrains.
the class DebuggerLaunchingConfigurable method getComponent.
@NotNull
@Override
public JComponent getComponent() {
myCbForceClassicVM = new StateRestoringCheckBox(DebuggerBundle.message("label.debugger.launching.configurable.force.classic.vm"));
myCbDisableJIT = new JCheckBox(DebuggerBundle.message("label.debugger.launching.configurable.disable.jit"));
myCbShowAlternativeSource = new JCheckBox(DebuggerBundle.message("label.debugger.general.configurable.show.alternative.source"));
myRbSocket = new JRadioButton(DebuggerBundle.message("label.debugger.launching.configurable.socket"));
myRbShmem = new JRadioButton(DebuggerBundle.message("label.debugger.launching.configurable.shmem"));
myCbKillImmediately = new JCheckBox(DebuggerBundle.message("label.debugger.general.configurable.kill.immediately"));
final ButtonGroup gr = new ButtonGroup();
gr.add(myRbSocket);
gr.add(myRbShmem);
final Box box = Box.createHorizontalBox();
box.add(myRbSocket);
box.add(myRbShmem);
final JPanel transportPanel = new JPanel(new BorderLayout());
transportPanel.add(new JLabel(DebuggerBundle.message("label.debugger.launching.configurable.debugger.transport")), BorderLayout.WEST);
transportPanel.add(box, BorderLayout.CENTER);
VerticalBox panel = new VerticalBox();
panel.setOpaque(false);
panel.add(transportPanel);
panel.add(myCbForceClassicVM);
panel.add(myCbDisableJIT);
panel.add(myCbShowAlternativeSource);
panel.add(myCbKillImmediately);
JPanel result = new JPanel(new BorderLayout());
result.add(panel, BorderLayout.NORTH);
return result;
}
Aggregations