Java Code Examples for javax.swing.border.BevelBorder#RAISED
The following examples show how to use
javax.swing.border.BevelBorder#RAISED .
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 JPanel getSqlLitePanel() { final JPanel panel = new JPanel(new GridBagLayout()); final GridBagConstraints constraints = new GridBagConstraints(); constraints.gridx = 0; constraints.gridy = 0; constraints.anchor = GridBagConstraints.LINE_START; constraints.insets = new Insets(5, 5, 5, 5); constraints.weightx = 1.0; constraints.fill = GridBagConstraints.HORIZONTAL; final Border border = new TitledBorder(new BevelBorder(BevelBorder.RAISED), Messages.getString("OptionWizard.30")); //$NON-NLS-1$ panel.setBorder(border); panel.add(propertyToComponent.get(EarthProperty.AUTOMATIC_BACKUP)[0], constraints); constraints.gridx++; panel.add(getOpenBackupFolderButton()); return panel; }
Example 2
Source File: NbTheme.java From netbeans with Apache License 2.0 | 5 votes |
private final void handleBevelBorder (org.xml.sax.AttributeList atts) { String key = atts.getValue (KEY_ATTR); int i = BevelBorder.LOWERED; String type = atts.getValue (TYPE_ATTR); if (type != null) i = type.equals (TYPE_LOWERED) ? BevelBorder.LOWERED : BevelBorder.RAISED; BorderUIResource.BevelBorderUIResource resource = new BorderUIResource.BevelBorderUIResource (i); defaults.put (key, resource); }
Example 3
Source File: SwingBorderGetterTest.java From netbeans with Apache License 2.0 | 5 votes |
public void testGetter () { Scene scene = new Scene (); BevelBorder originalBorder = new BevelBorder (BevelBorder.RAISED); scene.setBorder (originalBorder); Border foundBorder = BorderSupport.getSwingBorder (scene.getBorder ()); assertEquals (originalBorder, foundBorder); }
Example 4
Source File: javax_swing_plaf_BorderUIResource_BevelBorderUIResource.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
protected BevelBorderUIResource getObject() { return new BevelBorderUIResource(BevelBorder.RAISED); }
Example 5
Source File: javax_swing_border_SoftBevelBorder.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
protected SoftBevelBorder getObject() { return new SoftBevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 6
Source File: javax_swing_border_SoftBevelBorder.java From jdk8u-jdk with GNU General Public License v2.0 | 4 votes |
protected SoftBevelBorder getObject() { return new SoftBevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 7
Source File: javax_swing_border_BevelBorder.java From jdk8u_jdk with GNU General Public License v2.0 | 4 votes |
protected BevelBorder getObject() { return new BevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 8
Source File: javax_swing_plaf_BorderUIResource_BevelBorderUIResource.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
protected BevelBorderUIResource getObject() { return new BevelBorderUIResource(BevelBorder.RAISED); }
Example 9
Source File: javax_swing_border_SoftBevelBorder.java From hottub with GNU General Public License v2.0 | 4 votes |
protected SoftBevelBorder getObject() { return new SoftBevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 10
Source File: javax_swing_border_BevelBorder.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
protected BevelBorder getObject() { return new BevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 11
Source File: javax_swing_border_BevelBorder.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
protected BevelBorder getObject() { return new BevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 12
Source File: javax_swing_border_SoftBevelBorder.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 4 votes |
protected SoftBevelBorder getObject() { return new SoftBevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 13
Source File: javax_swing_border_SoftBevelBorder.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
protected SoftBevelBorder getObject() { return new SoftBevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 14
Source File: javax_swing_border_BevelBorder.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
protected BevelBorder getObject() { return new BevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 15
Source File: javax_swing_plaf_BorderUIResource_BevelBorderUIResource.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
protected BevelBorderUIResource getObject() { return new BevelBorderUIResource(BevelBorder.RAISED); }
Example 16
Source File: javax_swing_border_SoftBevelBorder.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
protected SoftBevelBorder getObject() { return new SoftBevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 17
Source File: javax_swing_plaf_BorderUIResource_BevelBorderUIResource.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 4 votes |
protected BevelBorderUIResource getObject() { return new BevelBorderUIResource(BevelBorder.RAISED); }
Example 18
Source File: javax_swing_plaf_BorderUIResource_BevelBorderUIResource.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
protected BevelBorderUIResource getObject() { return new BevelBorderUIResource(BevelBorder.RAISED); }
Example 19
Source File: javax_swing_border_SoftBevelBorder.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
protected SoftBevelBorder getObject() { return new SoftBevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }
Example 20
Source File: javax_swing_border_BevelBorder.java From hottub with GNU General Public License v2.0 | 4 votes |
protected BevelBorder getObject() { return new BevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE); }