FileDocCategorySizeDatePackage
MetalworksHelp.javaAPI DocExample4532Sat Sep 12 03:01:00 BST 1998None

MetalworksHelp

public class MetalworksHelp extends JInternalFrame

Fields Summary
Constructors Summary
public MetalworksHelp()

	super("Help", true, true, true, true);

	setIconifiable(true); // PENDING(steve) shouldn't need this but do

       	setFrameIcon( (Icon)UIManager.get("Tree.openIcon")); // PENDING(steve) need more general palce to get this icon

	setBounds( 200, 25, 400, 400);
	JPanel p = new JPanel();

	//	p.setOpaque(false); 
       	p.setOpaque(true);
       	p.setBackground(UIManager.getColor("window"));
	p.setLayout(new BorderLayout() );
	HtmlPane html = new HtmlPane();

	p.add(html, BorderLayout.CENTER);
	//	p.add(buildToolBar(), BorderLayout.NORTH);

	getContentPane().add(p);
    
Methods Summary
protected JToolBarbuildToolBar()

        JToolBar bar = new JToolBar();
	bar.add(new JButton("<<"));
	bar.add(new JButton(">>"));
	return bar;
    
public voidpack()

       Dimension size = getPreferredSize();
       setSize(size.width, size.height);