![JAR search and dependency download from the Maven repository](/logo.png)
org.freehep.graphicsio.emf.EMFDisplay Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of freehep-graphicsio-emf Show documentation
Show all versions of freehep-graphicsio-emf Show documentation
FreeHEP Enhanced Metafile Format Driver
The newest version!
// Copyright 2000-2007 FreeHEP
package org.freehep.graphicsio.emf;
/**
* EMFDisplay.java
*
* Created: Mon May 26 09:43:10 2003
*
* Copyright: Copyright (c) 2000, 2001
* Company: ATLANTEC Enterprise Solutions GmbH
*
* @author Carsten Zerbst [email protected]
* @version $Id: freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFDisplay.java 4c4708a97391 2007/06/12 22:32:31 duns $
*/
import java.io.File;
/**
* A simple interpreter displaying an EMF file read in by the EMFInputStream in
* a JPanel
*/
public class EMFDisplay {
public static void main(String[] args) {
try {
EMFViewer emfViewer = new EMFViewer();
if (args[0] != null) {
emfViewer.show(new File(args[0]));
}
} catch (Exception exp) {
exp.printStackTrace();
}
}
}
// EMFDisplay
© 2015 - 2025 Weber Informatics LLC | Privacy Policy