Java Code Examples for java.awt.GridBagConstraints#ABOVE_BASELINE_LEADING

The following examples show how to use java.awt.GridBagConstraints#ABOVE_BASELINE_LEADING . 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: PanelHelper.java    From Robot-Overlord-App with GNU General Public License v2.0 5 votes vote down vote up
@Deprecated
static public GridBagConstraints getDefaultGridBagConstraints() { 
	GridBagConstraints con1 = new GridBagConstraints();
	con1.gridx=0;
	con1.gridy=0;
	con1.weightx=1;
	con1.weighty=0;
	con1.fill=GridBagConstraints.HORIZONTAL;
	con1.anchor=GridBagConstraints.ABOVE_BASELINE_LEADING;
	
	return con1;
}