Examples of border()


Examples of com.jgoodies.forms.builder.PanelBuilder.border()

    ComponentOrientation orientation = ComponentOrientation.getOrientation(locale);
    String colSpec = FormLayoutUtil.getColSpec(COL_SPEC, orientation);

    FormLayout layout = new FormLayout(colSpec, ROW_SPEC);
    PanelBuilder builder = new PanelBuilder(layout);
    builder.border(Borders.DLU4);
    builder.opaque(true);

    CellConstraints cc = new CellConstraints();

    smcheckBox = new JCheckBox(Messages.getString("NetworkTab.3"), configuration.isMinimized());
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.border()

        "0:grow, pref, 0:grow",
        "pref, 3dlu, pref, 12dlu, pref, 3dlu, pref, 3dlu, p, 3dlu, p, 3dlu, p"
      );

      PanelBuilder builder = new PanelBuilder(layout);
      builder.border(Borders.DIALOG);
      builder.opaque(false);
      CellConstraints cc = new CellConstraints();

      JLabel jl = new JLabel(Messages.getString("TreeNodeSettings.4"));
      builder.add(jl, cc.xy(2, 1, "center, fill"));
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.border()

  public JComponent build() {
    String colSpec = FormLayoutUtil.getColSpec(MAIN_COL_SPEC, orientation);
    FormLayout mainlayout = new FormLayout(colSpec, MAIN_ROW_SPEC);
    PanelBuilder builder = new PanelBuilder(mainlayout);
    builder.border(Borders.DLU4);

    builder.opaque(true);

    CellConstraints cc = new CellConstraints();
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.border()

  public JComponent buildLeft() {
    String colSpec = FormLayoutUtil.getColSpec(LEFT_COL_SPEC, orientation);
    FormLayout layout = new FormLayout(colSpec, LEFT_ROW_SPEC);
    PanelBuilder builder = new PanelBuilder(layout);
    builder.border(Borders.EMPTY);
    builder.opaque(false);

    CellConstraints cc = new CellConstraints();

    CustomJButton but = new CustomJButton(LooksFrame.readImageIcon("button-arrow-down.png"));
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.border()

  public JComponent buildEmpty() {
    String colSpec = FormLayoutUtil.getColSpec(EMPTY_COL_SPEC, orientation);
    FormLayout layout = new FormLayout(colSpec, EMPTY_ROW_SPEC);
    PanelBuilder builder = new PanelBuilder(layout);
    builder.border(Borders.EMPTY);
    builder.opaque(false);

    CellConstraints cc = new CellConstraints();

    builder.addSeparator(Messages.getString("TrTab2.1"), FormLayoutUtil.flip(cc.xyw(1, 1, 3), colSpec, orientation));
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.border()

  public JComponent buildCommon() {
    String colSpec = FormLayoutUtil.getColSpec(COMMON_COL_SPEC, orientation);
    FormLayout layout = new FormLayout(colSpec, COMMON_ROW_SPEC);
    PanelBuilder builder = new PanelBuilder(layout);
    builder.border(Borders.EMPTY);
    builder.opaque(false);

    CellConstraints cc = new CellConstraints();

    JComponent cmp = builder.addSeparator(Messages.getString("NetworkTab.5"), FormLayoutUtil.flip(cc.xyw(1, 1, 3), colSpec, orientation));
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.border()

    ComponentOrientation orientation = ComponentOrientation.getOrientation(locale);
    String colSpec = FormLayoutUtil.getColSpec(COL_SPEC, orientation);

    FormLayout layout = new FormLayout(colSpec, ROW_SPEC);
    PanelBuilder builder = new PanelBuilder(layout);
    builder.border(Borders.EMPTY);
    builder.opaque(false);

    CellConstraints cc = new CellConstraints();

    JComponent cmp = builder.addSeparator(Messages.getString("NetworkTab.5"), FormLayoutUtil.flip(cc.xyw(1, 1, 15), colSpec, orientation));
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.border()

  private JComponent buildVideoSetupPanel() {
    String colSpec = FormLayoutUtil.getColSpec("left:pref, 3dlu, pref:grow", orientation);
    FormLayout layout = new FormLayout(colSpec, "$lgap, 2*(pref, 3dlu), 10dlu, 10dlu, 4*(pref, 3dlu), pref");
    PanelBuilder builder = new PanelBuilder(layout);
    builder.border(Borders.DLU4);
    CellConstraints cc = new CellConstraints();

    videoHWacceleration = new JCheckBox(Messages.getString("TrTab2.70"), configuration.isGPUAcceleration());
    videoHWacceleration.addItemListener(new ItemListener() {
      @Override
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.border()

  private JComponent buildAudioSetupPanel() {
    String colSpec = FormLayoutUtil.getColSpec("left:pref, 3dlu, pref:grow", orientation);
    FormLayout layout = new FormLayout(colSpec, "$lgap, pref, 3dlu, 5*(pref, 3dlu), pref, 12dlu, 3*(pref, 3dlu), pref:grow");
    PanelBuilder builder = new PanelBuilder(layout);
    builder.border(Borders.DLU4);
    CellConstraints cc = new CellConstraints();

    builder.addLabel(Messages.getString("TrTab2.50"), FormLayoutUtil.flip(cc.xy(1, 2), colSpec, orientation));

    channels = new JComboBox(new Object[]{Messages.getString("TrTab2.55"),  Messages.getString("TrTab2.56") /*, "8 channels 7.1" */}); // 7.1 not supported by Mplayer :\
View Full Code Here

Examples of com.jgoodies.forms.builder.PanelBuilder.border()

    FormLayout layout = new FormLayout(
      "left:pref, 0:grow",
      "p, 3dlu, p, 3dlu, p, 3dlu, p, 3dlu, p"
    );
    PanelBuilder builder = new PanelBuilder(layout);
    builder.border(Borders.EMPTY);
    builder.opaque(false);

    CellConstraints cc = new CellConstraints();

    JComponent cmp = builder.addSeparator(Messages.getString(languageLabel), cc.xyw(2, 1, 1));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.