import java.awt.*;import java.awt.event.*;import javax.swing.*;public class Pane extends JFrame{ JDesktopPane desktop = new JDesktopPane(); JInternalFrame intFrame = new JInternalFrame("Nr.1", true, true, true, true); public static void main(String args[]) { new Pane(); } public Pane() { initGUI(); } public void initGUI() { this.setSize(400, 300); this.setTitle("Pane"); intFrame.setBounds(20, 20, 180, 250); intFrame.getContentPane().setLayout(null); desktop.add(intFrame); this.getContentPane().add(desktop); this.setVisible(true); } }