/*
* Geotoolkit.org - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* This file is hereby placed into the Public Domain.
* This means anyone is free to do whatever they wish with this file.
*/
package org.geotoolkit.demo.swing;
import javax.swing.JApplet;
import org.geotoolkit.gui.swing.image.IIOMetadataPanel;
/**
* Display a {@link IIOMetadataPanel} in an applet.
*/
@SuppressWarnings("serial")
public class IIOMetadataApplet extends JApplet {
/**
* Initialization method that will be called after the applet is loaded into the browser.
* This method creates a new applet showing a {@link IIOMetadataPanel} initialized to
* default values.
*/
@Override
public void init() {
final IIOMetadataPanel panel = new IIOMetadataPanel();
panel.addDefaultMetadataFormats();
add(panel);
}
}