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 PublicationFrame extends JFrame {
	private static final long serialVersionUID = 3152855359717852975L;
	private static PublicationMainPanel mainPanel;
	public static ClientPrimaryDataDirectory rootDirectory = null;
	public static String loggedUser = "";
	public static void updateUI() {
	}
	public PublicationFrame(String loggedUserthrows Exception {
		this.pack();
		/* place windows centered */
		this.setVisible(true);
	}

Get the de.ipk_gatersleben.bit.bi.edal.rmi.client.ClientPrimaryDataDirectory for the logged user or create a new one is not exist.

		ClientPrimaryDataDirectory userDirectory = null;
		try {
catch (RemoteException e) {
			try {
			}
		}
		return userDirectory;
	}
New to GrepCode? Check out our FAQ X