Windows « Focus « Java Swing Q&A





1. My app inactive obtain the focus of windows system how?    coderanch.com

When you say you want your app to "run in background", do you mean you want the window to be up, but other windows to be on top of it, or do you mean no gui at all for your app. In either case, you're going to need another thread to do this. Here's some code that shows how to make ...

3. Two windows get focus in turn depends on user action?    coderanch.com

Hi, I am doing a GUI project using SWING, there is a requirement that I am not sure if can be done by swing. 1. When the application start, the main window appears but kind of grey out, on top of the main window there is another small log in window for user to input user name and password, after the ...