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

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "focus problem" Watch "focus problem" New topic

focus problem

Suresh Poosapati

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: 650
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