wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes right click context menu does not appear only for Java 1.7,  AWT TextField Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "right click context menu does not appear only for Java 1.7,  AWT TextField" Watch "right click context menu does not appear only for Java 1.7,  AWT TextField" New topic
Author

right click context menu does not appear only for Java 1.7, AWT TextField

Jake Jien
Greenhorn

Joined: Mar 19, 2013
Posts: 3
I have been debugging some issues an application has been having with Java 1.7 versus older versions. A new problem I have encountered is that the right click context menu does not function in any TextField. It works fine when running it with any previous version of Java. I have tried coding a simple test with a Frame, Panel and TextField to see if it might be something else in the more complex application that was causing it, but the simple test class has the same problem.

I have searched for other people having the same issue, but I have not found anything comparable. This seems like a huge change from one version to the next and I am surprised that I am not finding this mentioned anywhere else. Can someone point me to anything that discusses this issue that I am having?

My simple test:

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10175
    
    8

You should seriously consider migrating from AWT to Swing. Usually its a pretty straight replacement as Swing offers direct one to one options
Frame -> JFrame
Button -> JButton
More about Swing here http://docs.oracle.com/javase/tutorial/uiswing/

UI questions are best suited on the GUI forums. I will move this post over there for you


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: right click context menu does not appear only for Java 1.7, AWT TextField
 
Similar Threads
assign faculty members to classes
I need help with seeking to abitiary positions within a text file.
Text Field not putting data in string and Jlable not repainting
Focussing a TextField
Help,Components inside my Frame would not be displayed until maximized.