javax.swing.LayoutStyle.ComponentPlacement Java Examples

The following examples show how to use javax.swing.LayoutStyle.ComponentPlacement. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultLayoutStyle.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #2
Source File: DefaultLayoutStyle.java    From jdk8u-dev-jdk with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #3
Source File: DefaultLayoutStyle.java    From jdk8u-jdk with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #4
Source File: DefaultLayoutStyle.java    From jdk8u_jdk with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #5
Source File: DefaultLayoutStyle.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #6
Source File: DefaultLayoutStyle.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #7
Source File: DefaultLayoutStyle.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #8
Source File: DefaultLayoutStyle.java    From jdk8u-jdk with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #9
Source File: DefaultLayoutStyle.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #10
Source File: DefaultLayoutStyle.java    From Bytecoder with Apache License 2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #11
Source File: DefaultLayoutStyle.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #12
Source File: DefaultLayoutStyle.java    From dragonwell8_jdk with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #13
Source File: DefaultLayoutStyle.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #14
Source File: DefaultLayoutStyle.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
@Override
public int getPreferredGap(JComponent component1, JComponent component2,
        ComponentPlacement type, int position, Container parent) {
    if (component1 == null || component2 == null || type == null) {
        throw new NullPointerException();
    }

    checkPosition(position);

    if (type == ComponentPlacement.INDENT &&
            (position == SwingConstants.EAST ||
             position == SwingConstants.WEST)) {
        int indent = getIndent(component1, position);
        if (indent > 0) {
            return indent;
        }
    }
    return (type == ComponentPlacement.UNRELATED) ? 12 : 6;
}
 
Example #15
Source File: Doctrine2CustomizerPanel.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/**
 * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form
 * Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    enabledCheckBox = new JCheckBox();
    enabledInfoLabel = new JLabel();
    Mnemonics.setLocalizedText(enabledCheckBox, NbBundle.getMessage(Doctrine2CustomizerPanel.class, "Doctrine2CustomizerPanel.enabledCheckBox.text")); // NOI18N
    Mnemonics.setLocalizedText(enabledInfoLabel, NbBundle.getMessage(Doctrine2CustomizerPanel.class, "Doctrine2CustomizerPanel.enabledInfoLabel.text")); // NOI18N

    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addComponent(enabledCheckBox)
        .addGroup(layout.createSequentialGroup()
            .addGap(21, 21, 21)
            .addComponent(enabledInfoLabel))
    );
    layout.setVerticalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addComponent(enabledCheckBox)
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(enabledInfoLabel))
    );
}
 
Example #16
Source File: diffItemPanel.java    From templatespider with Apache License 2.0 5 votes vote down vote up
/**
 * Create the panel.
 */
public diffItemPanel() {
	
	lblNewLabel = new JLabel("template name");
	lblNewLabel.setFont(new Font("Dialog", Font.BOLD, 18));
	
	JScrollPane scrollPane = new JScrollPane();
	GroupLayout groupLayout = new GroupLayout(this);
	groupLayout.setHorizontalGroup(
		groupLayout.createParallelGroup(Alignment.LEADING)
			.addGroup(groupLayout.createSequentialGroup()
				.addComponent(lblNewLabel, GroupLayout.DEFAULT_SIZE, 444, Short.MAX_VALUE)
				.addGap(6))
			.addComponent(scrollPane, GroupLayout.DEFAULT_SIZE, 450, Short.MAX_VALUE)
	);
	groupLayout.setVerticalGroup(
		groupLayout.createParallelGroup(Alignment.LEADING)
			.addGroup(groupLayout.createSequentialGroup()
				.addComponent(lblNewLabel)
				.addPreferredGap(ComponentPlacement.RELATED)
				.addComponent(scrollPane, GroupLayout.DEFAULT_SIZE, 272, Short.MAX_VALUE))
	);
	
	textArea = new JTextArea();
	scrollPane.setViewportView(textArea);
	setLayout(groupLayout);

}
 
Example #17
Source File: LocalSettingsPanel.java    From BowlerStudio with GNU General Public License v3.0 5 votes vote down vote up
@Override
public void initComponents() {
	GroupLayout groupLayout = new GroupLayout(this);
	groupLayout.setHorizontalGroup(
		groupLayout.createParallelGroup(Alignment.LEADING)
			.addGroup(groupLayout.createSequentialGroup()
				.addContainerGap()
				.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
					.addGroup(Alignment.TRAILING, groupLayout.createSequentialGroup()
						.addComponent(getTfSlic3rLocation(), GroupLayout.DEFAULT_SIZE, 283, Short.MAX_VALUE)
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getBtnChangeSlicr()))
					.addComponent(getBtnLoadDefaults(), Alignment.TRAILING)
					.addComponent(getLblCurrentLocationOf()))
				.addContainerGap())
	);
	groupLayout.setVerticalGroup(
		groupLayout.createParallelGroup(Alignment.LEADING)
			.addGroup(groupLayout.createSequentialGroup()
				.addContainerGap()
				.addComponent(getLblCurrentLocationOf())
				.addPreferredGap(ComponentPlacement.RELATED)
				.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
					.addComponent(getTfSlic3rLocation(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
					.addComponent(getBtnChangeSlicr()))
				.addPreferredGap(ComponentPlacement.RELATED, 212, Short.MAX_VALUE)
				.addComponent(getBtnLoadDefaults())
				.addContainerGap())
	);
	setLayout(groupLayout);
	getTfSlic3rLocation().setText(prefs.getSlic3rLocation());
	
}
 
Example #18
Source File: BoxFillerInitializer.java    From netbeans with Apache License 2.0 5 votes vote down vote up
WidthHeightPanel(boolean showWidth, boolean showHeight) {
    ResourceBundle bundle = NbBundle.getBundle(BoxFillerInitializer.class);
    JLabel widthLabel = new JLabel(bundle.getString("BoxFillerInitializer.width")); // NOI18N
    JLabel heightLabel = new JLabel(bundle.getString("BoxFillerInitializer.height")); // NOI18N
    widthField = new JSpinner(new SpinnerNumberModel());
    heightField = new JSpinner(new SpinnerNumberModel());
    GroupLayout layout = new GroupLayout(this);
    setLayout(layout);
    layout.setHorizontalGroup(
        layout.createParallelGroup(GroupLayout.Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.TRAILING)
                .addComponent(widthLabel)
                .addComponent(heightLabel))
            .addPreferredGap(ComponentPlacement.RELATED)
            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING)
                .addComponent(widthField)
                .addComponent(heightField))
            .addContainerGap())
    );
    layout.setVerticalGroup(
        layout.createParallelGroup(GroupLayout.Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                .addComponent(widthLabel)
                .addComponent(widthField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
            .addPreferredGap(ComponentPlacement.RELATED)
            .addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                .addComponent(heightLabel)
                .addComponent(heightField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
            .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    );
    widthLabel.setVisible(showWidth);
    heightLabel.setVisible(showHeight);
    widthField.setVisible(showWidth);
    heightField.setVisible(showHeight);
}
 
Example #19
Source File: CodeCompletionPanel.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/** This method is called from within the constructor to
 * initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    autoCompletionSmartQuotesLabel = new JLabel();
    autoCompletionSmartQuotesCheckBox = new JCheckBox();

    Mnemonics.setLocalizedText(autoCompletionSmartQuotesLabel, NbBundle.getMessage(CodeCompletionPanel.class, "CodeCompletionPanel.autoCompletionSmartQuotesLabel.text")); // NOI18N

    Mnemonics.setLocalizedText(autoCompletionSmartQuotesCheckBox, NbBundle.getMessage(CodeCompletionPanel.class, "CodeCompletionPanel.autoCompletionSmartQuotesCheckBox.text")); // NOI18N

    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.LEADING)
                .addComponent(autoCompletionSmartQuotesLabel)
                .addComponent(autoCompletionSmartQuotesCheckBox))
            .addContainerGap(30, Short.MAX_VALUE))
    );
    layout.setVerticalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addComponent(autoCompletionSmartQuotesLabel)
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(autoCompletionSmartQuotesCheckBox)
            .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    );

    getAccessibleContext().setAccessibleName(NbBundle.getMessage(CodeCompletionPanel.class, "CodeCompletionPanel.AccessibleContext.accessibleName")); // NOI18N
    getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(CodeCompletionPanel.class, "CodeCompletionPanel.AccessibleContext.accessibleDescription")); // NOI18N
}
 
Example #20
Source File: InstallPanel.java    From netbeans with Apache License 2.0 5 votes vote down vote up
private void doDisplayEnableTask (
            JComponent enableMainLabel,
            JComponent enableDetailLabel,
            JComponent enableProgress
        ) {
    
    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(enableMainLabel)
                    .addPreferredGap(ComponentPlacement.RELATED)
                    .addComponent(enableDetailLabel, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGap(54, 54, 54))
                .addComponent(enableProgress, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addContainerGap())
    );
    layout.setVerticalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.BASELINE)
                .addComponent(enableMainLabel)
                .addComponent(enableDetailLabel))
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(enableProgress, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
            .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    );
    
}
 
Example #21
Source File: VCSCommitPanel.java    From netbeans with Apache License 2.0 5 votes vote down vote up
static Component makeHorizontalStrut(JComponent compA,
                                          JComponent compB,
                                          ComponentPlacement relatedUnrelated,
                                          JPanel parent) {
        int width = LayoutStyle.getInstance().getPreferredGap(
                            compA,
                            compB,
                            relatedUnrelated,
                            WEST,
                            parent);
        return Box.createHorizontalStrut(width);
}
 
Example #22
Source File: VCSCommitPanel.java    From netbeans with Apache License 2.0 5 votes vote down vote up
static Component makeVerticalStrut(JComponent compA,
                                    JComponent compB,
                                    ComponentPlacement relatedUnrelated, 
                                    JPanel parent) {
    int height = LayoutStyle.getInstance().getPreferredGap(
                        compA,
                        compB,
                        relatedUnrelated,
                        SOUTH,
                        parent);
    return Box.createVerticalStrut(height);
}
 
Example #23
Source File: FailedFilesPanel.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/**
 * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    titleLabel = new JLabel();
    failedFilesScrollPane = new JScrollPane();
    failedFilesList = new JList<String>();

    Mnemonics.setLocalizedText(titleLabel, "TITLE"); // NOI18N

    failedFilesList.setEnabled(false);
    failedFilesScrollPane.setViewportView(failedFilesList);

    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.LEADING)
                .addComponent(failedFilesScrollPane)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(titleLabel)
                    .addGap(0, 0, Short.MAX_VALUE)))
            .addContainerGap())
    );
    layout.setVerticalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addComponent(titleLabel)
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(failedFilesScrollPane)
            .addContainerGap())
    );
}
 
Example #24
Source File: TransferSelector.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/** This method is called from within the constructor to
 * initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {


    treePanel = new JPanel();
    checkAllCheckBox = new JCheckBox();

    setBorder(BorderFactory.createEtchedBorder());

    treePanel.setLayout(new BorderLayout());
    Mnemonics.setLocalizedText(checkAllCheckBox, NbBundle.getMessage(TransferSelector.class, "TransferSelector.checkAllCheckBox.text"));
    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addComponent(checkAllCheckBox)
            .addContainerGap(212, Short.MAX_VALUE))
        .addComponent(treePanel, GroupLayout.DEFAULT_SIZE, 310, Short.MAX_VALUE)
    );
    layout.setVerticalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(Alignment.TRAILING, layout.createSequentialGroup()
            .addComponent(treePanel, GroupLayout.DEFAULT_SIZE, 217, Short.MAX_VALUE)
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(checkAllCheckBox))
    );
}
 
Example #25
Source File: CustomizerIncludePath.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/** This method is called from within the constructor to
 * initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    includePathLabel = new JLabel();
    includePathTabbedPane = new JTabbedPane();
    includePathInfoLabel = new JLabel();

    Mnemonics.setLocalizedText(includePathLabel, NbBundle.getMessage(CustomizerIncludePath.class, "CustomizerIncludePath.includePathLabel.text")); // NOI18N

    Mnemonics.setLocalizedText(includePathInfoLabel, NbBundle.getMessage(CustomizerIncludePath.class, "CustomizerIncludePath.includePathInfoLabel.text")); // NOI18N

    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addComponent(includePathLabel)
        .addComponent(includePathInfoLabel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
        .addComponent(includePathTabbedPane)
    );
    layout.setVerticalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addComponent(includePathLabel)
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(includePathTabbedPane)
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(includePathInfoLabel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
    );
}
 
Example #26
Source File: SelectFilePanel.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/** This method is called from within the constructor to
 * initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    selectFileLabel = new JLabel();
    selectFileScrollPane = new JScrollPane();
    selectFileList = new JList<>();

    selectFileLabel.setLabelFor(selectFileList);
    Mnemonics.setLocalizedText(selectFileLabel, NbBundle.getMessage(SelectFilePanel.class, "SelectFilePanel.selectFileLabel.text")); // NOI18N

    selectFileList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    selectFileScrollPane.setViewportView(selectFileList);

    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.LEADING)
                .addComponent(selectFileScrollPane, GroupLayout.DEFAULT_SIZE, 280, Short.MAX_VALUE)
                .addComponent(selectFileLabel))
            .addContainerGap())
    );
    layout.setVerticalGroup(layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addComponent(selectFileLabel)
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(selectFileScrollPane, GroupLayout.DEFAULT_SIZE, 85, Short.MAX_VALUE))
    );
}
 
Example #27
Source File: AutoSavePanel.java    From netbeans with Apache License 2.0 4 votes vote down vote up
/**
 * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The
 * content of this method is always regenerated by the Form Editor.
 */

// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    chkUseFeature = new JCheckBox();
    chkSaveOnFocusLost = new JCheckBox();
    spnMinutes = new JSpinner();
    jLabel2 = new JLabel();

    Mnemonics.setLocalizedText(chkUseFeature, NbBundle.getMessage(AutoSavePanel.class, "AutoSavePanel.jLabel1.text")); // NOI18N
    chkUseFeature.setActionCommand(NbBundle.getMessage(AutoSavePanel.class, "AutoSavePanel.chkUseFeature.actionCommand")); // NOI18N
    chkUseFeature.addItemListener(new ItemListener() {
        public void itemStateChanged(ItemEvent evt) {
            chkUseFeatureItemStateChanged(evt);
        }
    });

    Mnemonics.setLocalizedText(chkSaveOnFocusLost, NbBundle.getMessage(AutoSavePanel.class,"AutoSavePanel.chkSaveOnFocusLost.text")); // NOI18N

    spnMinutes.setModel(this.spnModel);
    spnMinutes.setToolTipText(NbBundle.getMessage(AutoSavePanel.class, "AutoSavePanel.spnMinutes.toolTipText")); // NOI18N

    Mnemonics.setLocalizedText(jLabel2, NbBundle.getMessage(AutoSavePanel.class, "AutoSavePanel.jLabel2.text")); // NOI18N

    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.LEADING)
                .addComponent(chkSaveOnFocusLost)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(chkUseFeature)
                    .addPreferredGap(ComponentPlacement.RELATED)
                    .addComponent(spnMinutes, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(ComponentPlacement.RELATED)
                    .addComponent(jLabel2)))
            .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    );
    layout.setVerticalGroup(layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.BASELINE)
                .addComponent(chkUseFeature)
                .addComponent(spnMinutes, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                .addComponent(jLabel2))
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(chkSaveOnFocusLost)
            .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    );
}
 
Example #28
Source File: TransferFilesChooserVisual.java    From netbeans with Apache License 2.0 4 votes vote down vote up
/** This method is called from within the constructor to
 * initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    selectFilesLabel = new JLabel();
    outerPanel = new EmbeddablePanel(filesChooserPanel);
    innerPanel = new JPanel();
    selectedFilesInfoLabel = new JLabel();
    warningLabel = new JLabel();

    selectFilesLabel.setLabelFor(outerPanel);



    Mnemonics.setLocalizedText(selectFilesLabel, NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.selectFilesLabel.text"));
    innerPanel.setLayout(new BorderLayout());
    Mnemonics.setLocalizedText(selectedFilesInfoLabel, "DUMMY");
    Mnemonics.setLocalizedText(warningLabel, "DUMMY");
    GroupLayout outerPanelLayout = new GroupLayout(outerPanel);
    outerPanel.setLayout(outerPanelLayout);

    outerPanelLayout.setHorizontalGroup(
        outerPanelLayout.createParallelGroup(Alignment.LEADING)
        .addGroup(outerPanelLayout.createSequentialGroup()
            .addComponent(selectedFilesInfoLabel)
            .addPreferredGap(ComponentPlacement.RELATED, 402, Short.MAX_VALUE)
            .addComponent(warningLabel))
        .addComponent(innerPanel, GroupLayout.DEFAULT_SIZE, 500, Short.MAX_VALUE)
    );
    outerPanelLayout.setVerticalGroup(
        outerPanelLayout.createParallelGroup(Alignment.LEADING)
        .addGroup(Alignment.TRAILING, outerPanelLayout.createSequentialGroup()
            .addComponent(innerPanel, GroupLayout.DEFAULT_SIZE, 305, Short.MAX_VALUE)
            .addPreferredGap(ComponentPlacement.RELATED)
            .addGroup(outerPanelLayout.createParallelGroup(Alignment.BASELINE)
                .addComponent(selectedFilesInfoLabel)
                .addComponent(warningLabel)))
    );

    innerPanel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.innerPanel.AccessibleContext.accessibleName")); // NOI18N
    innerPanel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.innerPanel.AccessibleContext.accessibleDescription")); // NOI18N
    selectedFilesInfoLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.selectedFilesInfoLabel.AccessibleContext.accessibleName")); // NOI18N
    selectedFilesInfoLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.selectedFilesInfoLabel.AccessibleContext.accessibleDescription")); // NOI18N
    warningLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.warningLabel.AccessibleContext.accessibleName")); // NOI18N
    warningLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.warningLabel.AccessibleContext.accessibleDescription")); // NOI18N
    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);

    layout.setHorizontalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.LEADING)
                .addComponent(outerPanel, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(selectFilesLabel))
            .addContainerGap())
    );
    layout.setVerticalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addComponent(selectFilesLabel)
            .addPreferredGap(ComponentPlacement.RELATED)
            .addComponent(outerPanel, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    );

    selectFilesLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.selectFilesLabel.AccessibleContext.accessibleName")); // NOI18N
    selectFilesLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.selectFilesLabel.AccessibleContext.accessibleDescription")); // NOI18N
    outerPanel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.outerPanel.AccessibleContext.accessibleName")); // NOI18N
    outerPanel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.outerPanel.AccessibleContext.accessibleDescription")); // NOI18N
    getAccessibleContext().setAccessibleName(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.AccessibleContext.accessibleName")); // NOI18N
    getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(TransferFilesChooserVisual.class, "TransferFilesChooserVisual.AccessibleContext.accessibleDescription")); // NOI18N
}
 
Example #29
Source File: Slic3rPrinter.java    From BowlerStudio with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void initComponents() {

	GroupLayout groupLayout = new GroupLayout(this);
	groupLayout.setHorizontalGroup(
		groupLayout.createParallelGroup(Alignment.LEADING)
			.addGroup(groupLayout.createSequentialGroup()
				.addContainerGap()
				.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
					.addGroup(groupLayout.createSequentialGroup()
						.addComponent(getLblNozzleDiameter())
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getTfNozzleDia(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getLblMm()))
					.addGroup(groupLayout.createSequentialGroup()
						.addComponent(getLblPrintCenter())
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getLblX())
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getTfPrintCenterX(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getLblMm_1())
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getLblY())
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getTfPrintCenterY(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getLblMm_2()))
					.addGroup(groupLayout.createSequentialGroup()
						.addComponent(getLblFilamentDiameter())
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getTfFilaDia(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getLblMm_3()))
					.addGroup(groupLayout.createSequentialGroup()
						.addComponent(getLblExtrusionMultiplier())
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getTfExtrusionMult(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addGroup(groupLayout.createSequentialGroup()
						.addComponent(getLblPrintTemperature())
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getTfPTemp(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getLblc()))
					.addGroup(groupLayout.createSequentialGroup()
						.addComponent(getLblBedTemperature())
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getTfBTemp(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addPreferredGap(ComponentPlacement.RELATED)
						.addComponent(getLblc_1())))
				.addContainerGap(225, Short.MAX_VALUE))
	);
	groupLayout.setVerticalGroup(
		groupLayout.createParallelGroup(Alignment.LEADING)
			.addGroup(groupLayout.createSequentialGroup()
				.addContainerGap()
				.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
					.addComponent(getLblNozzleDiameter())
					.addComponent(getTfNozzleDia(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
					.addComponent(getLblMm()))
				.addPreferredGap(ComponentPlacement.RELATED)
				.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
					.addComponent(getLblPrintCenter())
					.addComponent(getLblX())
					.addComponent(getTfPrintCenterX(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
					.addComponent(getLblY())
					.addComponent(getTfPrintCenterY(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
					.addComponent(getLblMm_1())
					.addComponent(getLblMm_2()))
				.addPreferredGap(ComponentPlacement.RELATED)
				.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
					.addComponent(getLblFilamentDiameter())
					.addComponent(getTfFilaDia(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
					.addComponent(getLblMm_3()))
				.addPreferredGap(ComponentPlacement.RELATED)
				.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
					.addComponent(getLblExtrusionMultiplier())
					.addComponent(getTfExtrusionMult(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
				.addPreferredGap(ComponentPlacement.RELATED)
				.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
					.addComponent(getLblPrintTemperature())
					.addComponent(getTfPTemp(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
					.addComponent(getLblc()))
				.addPreferredGap(ComponentPlacement.RELATED)
				.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
					.addComponent(getLblBedTemperature())
					.addComponent(getTfBTemp(), GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
					.addComponent(getLblc_1()))
				.addContainerGap(25, Short.MAX_VALUE))
	);
	setLayout(groupLayout);
	this.addListener(this);
	
}
 
Example #30
Source File: NewRemoteConnectionPanel.java    From netbeans with Apache License 2.0 4 votes vote down vote up
/** This method is called from within the constructor to
 * initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

    connectionNameLabel = new JLabel();
    connectionNameTextField = new JTextField();
    connectionTypeLabel = new JLabel();
    connectionTypeComboBox = new JComboBox<String>();

    connectionNameLabel.setLabelFor(connectionNameTextField);
    Mnemonics.setLocalizedText(connectionNameLabel, NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionNameLabel.text")); // NOI18N

    connectionNameTextField.setText(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionNameTextField.text")); // NOI18N

    connectionTypeLabel.setLabelFor(connectionTypeComboBox);
    Mnemonics.setLocalizedText(connectionTypeLabel, NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionTypeLabel.text")); // NOI18N

    GroupLayout layout = new GroupLayout(this);
    this.setLayout(layout);
    layout.setHorizontalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.LEADING)
                .addComponent(connectionNameLabel)
                .addComponent(connectionTypeLabel))
            .addPreferredGap(ComponentPlacement.RELATED)
            .addGroup(layout.createParallelGroup(Alignment.TRAILING)
                .addComponent(connectionTypeComboBox, 0, 221, Short.MAX_VALUE)
                .addComponent(connectionNameTextField, Alignment.LEADING, GroupLayout.DEFAULT_SIZE, 221, Short.MAX_VALUE))
            .addContainerGap())
    );
    layout.setVerticalGroup(
        layout.createParallelGroup(Alignment.LEADING)
        .addGroup(layout.createSequentialGroup()
            .addContainerGap()
            .addGroup(layout.createParallelGroup(Alignment.BASELINE)
                .addComponent(connectionNameLabel)
                .addComponent(connectionNameTextField, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
            .addPreferredGap(ComponentPlacement.RELATED)
            .addGroup(layout.createParallelGroup(Alignment.BASELINE)
                .addComponent(connectionTypeLabel)
                .addComponent(connectionTypeComboBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
            .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    );

    connectionNameLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionNameLabel.AccessibleContext.accessibleName")); // NOI18N
    connectionNameLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionNameLabel.AccessibleContext.accessibleDescription")); // NOI18N
    connectionNameTextField.getAccessibleContext().setAccessibleName(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionNameTextField.AccessibleContext.accessibleName")); // NOI18N
    connectionNameTextField.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionNameTextField.AccessibleContext.accessibleDescription")); // NOI18N
    connectionTypeLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionTypeLabel.AccessibleContext.accessibleName")); // NOI18N
    connectionTypeLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionTypeLabel.AccessibleContext.accessibleDescription")); // NOI18N
    connectionTypeComboBox.getAccessibleContext().setAccessibleName(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionTypeComboBox.AccessibleContext.accessibleName")); // NOI18N
    connectionTypeComboBox.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.connectionTypeComboBox.AccessibleContext.accessibleDescription")); // NOI18N

    getAccessibleContext().setAccessibleName(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.AccessibleContext.accessibleName")); // NOI18N
    getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(NewRemoteConnectionPanel.class, "NewRemoteConnectionPanel.AccessibleContext.accessibleDescription")); // NOI18N
}