ViewRootPathDialogpublic class ViewRootPathDialog extends JDialog implements ActionListener
Fields Summary |
---|
private com.sun.cldchi.tools.memoryprofiler.data.MPDataProvider | _provider |
Constructors Summary |
---|
public ViewRootPathDialog(Frame frame, String title, boolean param, Object[] objects, com.sun.cldchi.tools.memoryprofiler.data.MPDataProvider provider)
super(frame, title, param);
_provider = provider;
JButton closeButton = new JButton("Close");
closeButton.addActionListener(this);
ViewObjectsPanel vo_panel = new ViewObjectsPanel(provider);
vo_panel.initUI(false);
vo_panel.setObjects(objects);
getContentPane().add(vo_panel, BorderLayout.CENTER);
getContentPane().add(closeButton, BorderLayout.PAGE_END);
pack();
getRootPane().setDefaultButton(closeButton);
|
|