private void testConstructor1(TestHarness harness)
{
harness.checkPoint("JMenuItem(Action)");
// check for bug parade 4304129
MyAction a = new MyAction();
a.putValue(Action.NAME, "Action 1");
a.putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke('A'));
a.putValue(Action.MNEMONIC_KEY, new Integer(50));
a.putValue(Action.ACTION_COMMAND_KEY, "ActionCommand");
JMenuItem item = new JMenuItem(a);
harness.check(item.getText(), "Action 1");
harness.check(item.getAccelerator(), KeyStroke.getKeyStroke('A'));
harness.check(item.getMnemonic(), 50);
harness.check(item.getActionCommand(), "ActionCommand");