aspose file tools*
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
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: 642
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.
 
jQuery in Action, 2nd edition
 
subject: focus problem
 
Similar Threads
need explanation about constructor
how to set and get a value
Directory, File, Jar input problem
StringBuffer constructor error
want to display the following output?