/**
 * IFrame class
 *
 * @author yoonforh@moon.daewoo.co.kr
 *
 */

import java.awt.*;
import javax.swing.*;

class IFrame {
	public static void main(String args[]) {
		JFrame frame = new JFrame("³»ºÎ ÇÁ·¹ÀÓ Å×½ºÆ® ÇÁ·Î±×·¥"); // ÇÁ·¹ÀÓ À©µµ¿ì »ý¼º
		JDesktopPane desktop = new JDesktopPane(); // JDesktopPane »ý¼º
		JInternalFrame iframe = new JInternalFrame("Ã¹ ¹øÂ° ³»ºÎ ÇÁ·¹ÀÓ", true, true, true, true); // ³»ºÎ ÇÁ·¹ÀÓ »ý¼º
		desktop.add(iframe); // JDesktopPane ÄÄÆ÷³ÍÆ®¿¡ ³»ºÎ ÇÁ·¹ÀÓ Ãß°¡
		// ÇÁ·¹ÀÓ À©µµ¿ìÀÇ contentPaneÀ» JDesktopPane ÄÄÆ÷³ÍÆ®·Î ÁöÁ¤
		frame.setContentPane(desktop);
		iframe.setBounds(50, 50, 200, 100);
		iframe.setVisible(true); // JDK 1.3.xºÎÅÍ´Â ±âº»°ªÀÌ invisible. JDK 1.2.x¹öÀü±îÁö´Â ±âº»°ªÀÌ visible.
		frame.setSize(300,300);
		frame.setVisible(true);
	}
}
