/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*
* ident "%Z%%M% %I% %E% SMI"
*
* Copyright (c) 1999 by Sun Microsystems, Inc.
* All rights reserved.
*
* Test harness for help subsystem
*/
class helpTest {
});
helpFrame = new pmHelpFrame();
public void mouseClicked(MouseEvent e) {
if (e.getClickCount() == 2) {
int i = l.locationToIndex(e.getPoint());
if (i >= 0) {
}
}
}
});
// pc.fill = GridBagConstraints.HORIZONTAL;
p.setLayout(new GridBagLayout());
GridBagConstraints c = new GridBagConstraints();
c.gridheight = 1;
c.gridx = 0;
c.gridy = 0;
c.weightx = 1.0;
c.weighty = 0.0;
c.gridheight = 0;
c.weighty = 1.0;
c.weightx = 0.0;
p = new JPanel();
try {
"com.sun.admin.pm.client.pmHelpResources");
} catch (MissingResourceException e) {
}
while (e.hasMoreElements()) {
try {
} catch (MissingResourceException x) {
continue;
}
v.addElement(tagName);
}
}
theList.setListData(v);
// theList.addSelectionInterval(3, 5);
// theList.disable();
frame.setVisible(true);
}
}
}
public helpTestButtonPanel() {
public void actionPerformed(ActionEvent e) {
}
});
}
}