Java Code Examples for javax.swing.JTabbedPane#setSize()
The following examples show how to use
javax.swing.JTabbedPane#setSize() .
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: PropertiesDialog.java From collect-earth with MIT License | 6 votes |
private JTabbedPane getOptionTabs() { final JTabbedPane tabbedPane = new JTabbedPane(); tabbedPane.setSize(550, 300); final JComponent panel1 = getSampleDataPanel(); tabbedPane.addTab(Messages.getString("OptionWizard.31"), panel1); //$NON-NLS-1$ final JComponent panel2 = getPlotOptionsPanel(); tabbedPane.addTab(Messages.getString("OptionWizard.32"), panel2); //$NON-NLS-1$ final JComponent panel3 = getSurveyDefinitonPanel(); tabbedPane.addTab(Messages.getString("OptionWizard.33"), panel3); //$NON-NLS-1$ final JComponent panel41 = getIntegrationsPanel(); tabbedPane.addTab(Messages.getString("OptionWizard.34"), panel41); //$NON-NLS-1$ final JComponent panel4 = getBrowsersOptionsPanel(); tabbedPane.addTab(Messages.getString("OptionWizard.104"), panel4); //$NON-NLS-1$ final JComponent panel5 = getOperationModePanelScroll(); tabbedPane.addTab(Messages.getString("OptionWizard.25"), panel5); //$NON-NLS-1$ final JComponent panel6 = getProjectsPanelScroll(); tabbedPane.addTab(Messages.getString("OptionWizard.40"), panel6); //$NON-NLS-1$ return tabbedPane; }
Example 2
Source File: bug6416920.java From dragonwell8_jdk with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 3
Source File: bug6416920.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 4
Source File: bug6416920.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 5
Source File: bug6416920.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 6
Source File: bug6416920.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 7
Source File: bug6416920.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 8
Source File: bug6416920.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 9
Source File: bug6416920.java From hottub with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 10
Source File: bug6416920.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 11
Source File: bug6416920.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 12
Source File: bug6416920.java From jdk8u_jdk with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 13
Source File: bug6416920.java From jdk8u-jdk with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }
Example 14
Source File: bug6416920.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 5 votes |
public bug6416920() { super(); // Set parameters for the padSelectedTab() method selectedTabPadInsets = new Insets(0, 0, 0, 0); tabPane = new JTabbedPane(); tabPane.setSize(100, 0); tabPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT); rects = new Rectangle[1]; rects[0] = new Rectangle(150, 0, 0, 0); }