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.rmi.client.gui.editor;
This abstract class provides default implementations for the MetadataDialog class. To create a concrete MetadataeditDialog as a subclass,you need only provide implementations for the the method:
  public void initdata();
  

Author(s):
Jinbo Chen
Version:
1.0
public abstract class MetaDataEditDialog extends MetadataDialog{
	private static final long serialVersionUID = 1L;
	private JButton savebtn;
	private JButton cancelbtn;
	{
		super();
	}
	{
		JPanel buttonPane = new JPanel(new FlowLayout(.,5,5));
		buttonPane.add();
		buttonPane.add();
		return buttonPane;
	}
	public void okbuttonevent(ActionEvent e)
	{
	}
	public void cancelbuttonevent(ActionEvent e)
	{
	}
	private Action okAction = new AbstractAction("Ok") {
		private static final long serialVersionUID = 1L;
		public void actionPerformed(ActionEvent e) {
		}
	};
	private Action cancelAction = new AbstractAction("Cancel") {
		private static final long serialVersionUID = 1L;
		public void actionPerformed(ActionEvent e) {
		}
	};
New to GrepCode? Check out our FAQ X