wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes focus problem 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 "focus problem" Watch "focus problem" New topic
Author

focus problem

Suresh Poosapati
Greenhorn

Joined: Feb 24, 2010
Posts: 3
when i execute i program there is no focus.but if i opened other window and come back to my program output it is showing focus.what may be the problem?


can anybody suggest solutions?
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 643
There's not much here to go on. Are you creating a Swing application? Does the application display? What happens when you click on a component in the application window (like a text field or a button) - do they respond?

Try creating a simple application and see if it shows the same problem. If so, then you can provide that application to us so we can see what you're talking about.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: focus problem
 
Similar Threads
need explanation about constructor
want to display the following output?
Directory, File, Jar input problem
how to set and get a value
StringBuffer constructor error