Java 8 SoftBevelBorder - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 SoftBevelBorder class.

This code example shows how to use the following methods:
  public PreferencesPanel(EtmMonitor aEtmMonitor) { 
    super(new GridLayout(2,1)); 
    etmPrefPanel = new EtmMonitorPreferencePanel(aEtmMonitor); 
    widgetPrefPanel = new WidgetPreferencePanel(); 
 
    SoftBevelBorder prefBorder = new SoftBevelBorder(SoftBevelBorder.LOWERED); 
    etmPrefPanel.setBorder(prefBorder); 
    widgetPrefPanel.setBorder(prefBorder); 
 
    add(etmPrefPanel); 
    add(widgetPrefPanel); 
  } 
 
} 
5
CodeRank
This code example shows how to use the following methods:
This code example shows how to use the following methods:
This code example shows how to use the following methods:
 
	/** 
	 * Initializes the status bar. 
	 */ 
    void init() { 
		setBorder(new SoftBevelBorder(BevelBorder.LOWERED));
		setLayout(new BorderLayout());
		add(lblStatus, BorderLayout.CENTER);
	} 
 
	/** 
	 * Sets the status message in the status bar. 
	 * 
	 * @param text, the message to be displayed. 
	 */ 
	public void setStatus(String text) {
		// a quick fix to keep the status bar from disappearing when the text 
		// is null - set it to one blank space and it stays - bz 
		if (text.equals("")) //$NON-NLS-1$
			text = " "; //$NON-NLS-1$
3
CodeRank
This code example shows how to use the following methods:
See Code Examples for Java 8 SoftBevelBorder Methods: