Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  *  Copyright (c) 2011 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany.
  *  All rights reserved. This program and the accompanying materials
  *  are made available under the terms of the GNU Lesser Public License v2.1
  *  which accompanies this distribution, and is available at
  *  http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  *
  *  Contributors:
  *      Leibniz Institute of Plant Genetics and Crop Plant Research (IPK), Gatersleben, Germany - RMI Client, FileChooser and WebDAV
 */
package de.ipk_gatersleben.bit.bi.edal.publication;
public class AttributeTablePanel extends JPanel {
	private static final long serialVersionUID = 8109825692298261311L;
			AttributeTextArea textFieldint height) {
		GridBagLayout gridBagLayout = new GridBagLayout();
		this.setLayout(gridBagLayout);
		this.setBorder(new MatteBorder(0, 0, 1, 0, .));
		JScrollPane scrollableTextPanel = new JScrollPane(textField,
		scrollableTextPanel.setPreferredSize(new Dimension(
		scrollableTextPanel.setBorder(BorderFactory.createEmptyBorder());
		JPanel attributePanel = new JPanel(new GridLayout());
		attributePanel.add(label);
		attributePanel.setPreferredSize(new Dimension(
		Utils.add(thisgridBagLayoutattributePanel, 0, 0, 1, 1,
				0.05, 1, 50, 10);
		Utils.add(thisgridBagLayoutscrollableTextPanel, 1, 0, 1,
				1, 0.95, 1, 50, 10);
	}
New to GrepCode? Check out our FAQ X