Knowledge Base

BUG: java.awt.TextArea Does Not Provide Shortcut Menus

Article ID: 177752

Article Last Modified on 6/14/2006


APPLIES TO


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:

Additional query words: popup menus TextArea

Keywords: kbbug KB177752