BUG: java.awt.TextArea Does Not Provide Shortcut Menus (177752)



The information in this article applies to:

  • Microsoft SDK for Java 2.0
  • Microsoft SDK for Java 2.01
  • Microsoft SDK for Java 2.02
  • Microsoft SDK for Java 3.0
  • Microsoft SDK for Java 3.1
  • Microsoft SDK for Java 3.2
  • Microsoft Internet Explorer (Programming) 4.01

This article was previously published under Q177752

SYMPTOMS

The default right-click Shortcut menus that JDK1.1 provides for java.awt.TextArea is not seen with the Microsoft virtual machine provided in the SDK for Java 2.0 and later and Internet Explorer 4.0.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

To reproduce this behavior, create a Java project and include the following class:
import java.awt.*;
public class Test
{
   public static void main(String a[])
   {
      Frame f = new Frame();
      TextArea t = new TextArea();
      f.add(t, "Center");
      f.setSize(300,300);
      f.setVisible(true);
   }
}
				
When you right-click on the Frame, you do not see the Shortcut menus with the following options:
  • Undo
  • Cut
  • Copy
  • Paste
  • Delete
  • Select All

REFERENCES

For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:6/14/2006
Keywords:kbbug KB177752