use of javax.swing.JSplitPane in project jdk8u_jdk by JetBrains.
the class InsetsEncapsulation method run.
@Override
public void run() {
runTest(new JLabel("hi"));
runTest(new JMenu());
runTest(new JTree());
runTest(new JTable());
runTest(new JMenuItem());
runTest(new JCheckBoxMenuItem());
runTest(new JToggleButton());
runTest(new JSpinner());
runTest(new JSlider());
runTest(Box.createVerticalBox());
runTest(Box.createHorizontalBox());
runTest(new JTextField());
runTest(new JTextArea());
runTest(new JTextPane());
runTest(new JPasswordField());
runTest(new JFormattedTextField());
runTest(new JEditorPane());
runTest(new JButton());
runTest(new JColorChooser());
runTest(new JFileChooser());
runTest(new JCheckBox());
runTest(new JInternalFrame());
runTest(new JDesktopPane());
runTest(new JTableHeader());
runTest(new JLayeredPane());
runTest(new JRootPane());
runTest(new JMenuBar());
runTest(new JOptionPane());
runTest(new JRadioButton());
runTest(new JRadioButtonMenuItem());
runTest(new JPopupMenu());
runTest(new JScrollBar());
runTest(new JScrollPane());
runTest(new JViewport());
runTest(new JSplitPane());
runTest(new JTabbedPane());
runTest(new JToolBar());
runTest(new JSeparator());
runTest(new JProgressBar());
if (!failures.isEmpty()) {
System.out.println("These classes failed");
for (final Component failure : failures) {
System.out.println(failure.getClass());
}
throw new RuntimeException("Test failed");
}
}
use of javax.swing.JSplitPane in project jmeter by apache.
the class ComparisonVisualizer method init.
private void init() {
// WARNING: called from ctor so must not be overridden (i.e. must be private or final)
setLayout(new BorderLayout());
setBorder(makeBorder());
add(makeTitlePanel(), BorderLayout.NORTH);
JSplitPane split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
split.add(getTreePanel());
split.add(getSideBySidePanel());
add(split, BorderLayout.CENTER);
}
use of javax.swing.JSplitPane in project jmeter by apache.
the class RenderAsCssJQuery method createCssJqueryPanel.
/**
* @return RegExp Tester panel
*/
private JPanel createCssJqueryPanel() {
cssJqueryDataField = new JTextArea();
cssJqueryDataField.setEditable(false);
cssJqueryDataField.setLineWrap(true);
cssJqueryDataField.setWrapStyleWord(true);
JScrollPane cssJqueryDataPane = GuiUtils.makeScrollPane(cssJqueryDataField);
cssJqueryDataPane.setPreferredSize(new Dimension(0, 200));
JPanel pane = new JPanel(new BorderLayout(0, 5));
JSplitPane mainSplit = new JSplitPane(JSplitPane.VERTICAL_SPLIT, cssJqueryDataPane, createCssJqueryTasksPanel());
mainSplit.setDividerLocation(0.6d);
mainSplit.setOneTouchExpandable(true);
pane.add(mainSplit, BorderLayout.CENTER);
return pane;
}
use of javax.swing.JSplitPane in project jmeter by apache.
the class RenderAsRegexp method createRegexpPanel.
/**
* @return RegExp Tester panel
*/
private JPanel createRegexpPanel() {
regexpDataField = new JTextArea();
regexpDataField.setEditable(false);
regexpDataField.setLineWrap(true);
regexpDataField.setWrapStyleWord(true);
JScrollPane regexpDataPane = GuiUtils.makeScrollPane(regexpDataField);
regexpDataPane.setPreferredSize(new Dimension(0, 200));
JPanel pane = new JPanel(new BorderLayout(0, 5));
JSplitPane mainSplit = new JSplitPane(JSplitPane.VERTICAL_SPLIT, regexpDataPane, createRegexpTasksPanel());
mainSplit.setDividerLocation(0.6d);
mainSplit.setOneTouchExpandable(true);
pane.add(mainSplit, BorderLayout.CENTER);
return pane;
}
use of javax.swing.JSplitPane in project jmeter by apache.
the class RenderAsXPath method createXpathExtractorPanel.
/**
* @return XPath Tester panel
*/
private JPanel createXpathExtractorPanel() {
xmlDataField = new JTextArea();
xmlDataField.setEditable(false);
xmlDataField.setLineWrap(true);
xmlDataField.setWrapStyleWord(true);
this.xmlDataPane = GuiUtils.makeScrollPane(xmlDataField);
xmlDataPane.setPreferredSize(new Dimension(0, 200));
JPanel pane = new JPanel(new BorderLayout(0, 5));
JSplitPane mainSplit = new JSplitPane(JSplitPane.VERTICAL_SPLIT, xmlDataPane, createXpathExtractorTasksPanel());
mainSplit.setDividerLocation(0.6d);
mainSplit.setOneTouchExpandable(true);
pane.add(mainSplit, BorderLayout.CENTER);
return pane;
}
Aggregations