
examples.legacy.XPanel Maven / Gradle / Ivy
The newest version!
package examples.legacy;
import javax.swing.JPanel;
import org.swixml.SwingEngine;
/**
* This file contains proprietary information of CarlsbadCubes
* Copying or reproduction without prior written approval is prohibited.
* Copyright (c) 2002-2003
*
*
*
* Date: Feb 28, 2003
*
* @author Wolf Paulus
* @version $Revision: 1.1 $
* @since
*/
public class XPanel extends JPanel {
private SwingEngine swix = new SwingEngine( this );
public void setXml(String resource) {
try {
swix.insert( "xml/" + resource, this );
} catch (Exception e) {
System.err.println( e.getMessage() );
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy