@Override protected LayoutManager createLayoutManager() { return new JideBoxLayout(optionPane, JideBoxLayout.Y_AXIS); }
filterPanel.setLayout(new JideBoxLayout(filterPanel, JideBoxLayout.X_AXIS, 5)); sillyPanel.setLayout(new JideBoxLayout(sillyPanel, JideBoxLayout.X_AXIS, 0)); sillyPanel.setPreferredSize(new Dimension(100, 28)); sillyPanel.add(rowCountLabel, JideBoxLayout.VARY);
setPreferredSize(new Dimension(800, 20)); JideBoxLayout layout = new JideBoxLayout(this, JideBoxLayout.X_AXIS); layout.setGap(3); setLayout(layout);
static public JPanel createAutoCompleteForTree() { JPanel panel = new JPanel(); JTree tree = new JTree(); panel.setLayout(new JideBoxLayout(panel, JideBoxLayout.Y_AXIS));
chooser.setLayout(new JideBoxLayout(chooser, JideBoxLayout.Y_AXIS)); chooser.add(toolBarPanel, JideBoxLayout.FIX); chooser.add(holdingPanel, JideBoxLayout.VARY);
@UIHidden private JPanel createPanel1() { JPanel panel = new JPanel(); panel.setLayout(new JideBoxLayout(panel, JideBoxLayout.Y_AXIS)); panel.setBorder(BorderFactory.createCompoundBorder(new JideTitledBorder(new PartialEtchedBorder(PartialEtchedBorder.LOWERED, PartialSide.NORTH), "AutoCompletion combo box and text field", JideTitledBorder.LEADING, JideTitledBorder.ABOVE_TOP), BorderFactory.createEmptyBorder(0, 0, 0, 0)));
listPanel.setLayout(new JideBoxLayout(listPanel, JideBoxLayout.Y_AXIS, 6)); listPanel.add(createTitledPanel(new JLabel("Searchable JList"), 'L', new JScrollPane(list)), JideBoxLayout.VARY); listPanel.add(createTitledPanel(new JLabel("Searchable JComboBox"), 'C', comboBox), JideBoxLayout.FIX);
static public JPanel createAutoCompleteForTree(JTree tree, boolean addTree) { JPanel panel = new JPanel(); if (true) { panel.setLayout(new JideBoxLayout(panel, JideBoxLayout.Y_AXIS)); panel.setBorder(BorderFactory.createCompoundBorder(new JideTitledBorder(new PartialEtchedBorder(PartialEtchedBorder.LOWERED, PartialSide.NORTH), "Object List by Class", JideTitledBorder.LEADING, JideTitledBorder.ABOVE_TOP), BorderFactory.createEmptyBorder(0, 0, 0, 0)));
JideBoxLayout layout = new JideBoxLayout(this, JideBoxLayout.X_AXIS); locationPanel.setLayout(new JideBoxLayout(locationPanel, JideBoxLayout.X_AXIS)); locationPanel.setAlignmentY(CENTER_ALIGNMENT); locationPanel.add(Box.createRigidArea(new Dimension(10, 36)), JideBoxLayout.FIX); toolPanel.setLayout(new JideBoxLayout(toolPanel, JideBoxLayout.X_AXIS));
setLayout(new JideBoxLayout(this, JideBoxLayout.X_AXIS)); add(Box.createHorizontalStrut(4), JideBoxLayout.FIX); if ((_visibleButtons & SHOW_CLOSE) != 0) {
setLayout(new JideBoxLayout(this, JideBoxLayout.X_AXIS)); setOpaque(false);