1. how to focus a JFrame? stackoverflow.comI am writing a small game, with one JFrame that holds the main game, and another JFrame that displays the score. the problem is, when I am done constructing them, the ... |
2. Stop a jframe requesting focus stackoverflow.comI have a small application that updates the contents of a JFrame very quickly (many times per second) and on each update (I remove a component and then add a new ... |
3. Java JFrame keeping focus when visible stackoverflow.comI am not sure if I have set the right title for this post - so it is possible that there's already a post for what I am looking for, if ... |
4. Is it possible to bring JFrame to front but NOT focus? stackoverflow.comI'm writing a Java app (Swing GUI) that periodically pops up a JFrame. Is it possible somehow to bring the window to front (foo.setAlwaysOnTop(true) would be even better) but without having it ... |
5. How do I use requestFocus in a Java JFrame GUI? stackoverflow.comI am given an assignment but I am totally new to Java (I have been programming in C++ and Python for two years). So we are doing GUI and basically we extended ... |
6. How to restrict the focus of JFrame in Swing? stackoverflow.comI have a parent |
7. Blink jframe in swing without transferring focus stackoverflow.comI want to blink my jframe's entry in taskbar but do not want it to get focused. I read about in on net and tried different solutions but none of them ... |
8. Why does my Jframe GUI only steal focus from Microsoft Outlook? bytes.comHey guys, I created a GUI that updates every time a new line is added to some file. If I have the GUI in the background and have focus on other ... |
9. JFrame focus coderanch.comHi All, I have tried to find a solution to the focus problem , but none of them seem to match my criteria. I have 2 Jframes ,FrameA is the enquiry screen , which calls FrameB. Once FrameB is visible it should have the focus and I don't wan't FrameA to take focus , even if the mouse is clicked on ... |
10. JFrame & FocusListener coderanch.com |
11. How to create another JFrame that you can not leave focus on coderanch.comI am trying to create a small program that will allow me to adjust the program options. It should open up a new JFrame when the option is clicked from the JMenu. Like most settings options that window will be open, and you can not switch back to the main window unless you click close or cancel from that new window ... |
12. JFrame focus coderanch.comHi, I have two co-dependent JFrames. A button in Frame1 opens up Frame2, and Frame2 accepts some input. The input in frame2 has some calculations done on it after a click event on frame1. The calculations are based on the location clicked in frame1. What happens by default is; frame2 opens up, I give it some input, and then when I ... |
13. Keeping two JFrames always in focus while the other JFrame is worked on coderanch.comHello, I have an application that opens three windows(JFrames)- The main window is for a drawing canvas. When I work on the drawing canvas I would like to see the other two JFrames. When I work on the canvas now - anytime I do something the other two JFrames are swallowed by the drawing canvas. Kind regards, Kieran |
14. Shortcut key to set focus on JFrame coderanch.comMy problem is that i want to create a shortcut key or shortcut key combination like Alt+Tab. I would like to know if i can create a shortcut key, so that from anywhere, both when focus is on a desktop or if another program, pressing this key will make my jframe pop up to the foreground. Is this at all possible? ... |
15. how to restrict the focus between parent and child JFrame?? coderanch.com |
16. Maintain focus on JFrame java-forums.orgI need to invoke a JDialog on keypressing F1 to display help in my Swing application. I wrote a KeyListener for my main frame after setting the focus to it (i.e. by using myFrame.setFocusable(true) ) The problem arises that I need to be able to invoke the Help JDialog even when the current focus would be on another components in my ... |
17. How to set a JFrame as focus java-forums.orgHey there, I'm developing a GUI and wish to set an options frame as the focus so that you cannot click on the main window whilst the options frame is up. I've tried setFocusable(true) and requestFocus() but neither seem to work. I've had a look at the api and can't find anything myself. Thanks in advance! |
18. Stop JFrame from requesting focus so parent creating JFrame has focus java-forums.orgHow can I transfer focus from new Jframe back to parent object that created JFrame when you can not pass reference of parent to JFrame? Parent A creates new JFrame B that gains focus but does not have reference to parent A to allow B to getARef and transfer focus to A with A.requestFocus() method |
19. JFrame Losing Focus? forums.oracle.comframe2 can made final and then within the actionlistener requestFocus(), but this whole set up smells a little odd. Are you sure that you want to dispose of frame1? Would you rather have frame1 be a JFrame whose contentPane can change perhaps with a CardLayout, and frame2 actually be a non-modal JDialog? |
20. How to prevent JFrame from taking focus away from a CLI? forums.oracle.comHi, I am lack the savvy, and have very likely picked an .. uncommon approach, but is it possible to prevent a JFrame from stealing the focus from my terminal command line interface? I started developing a text based network simulator, but then discovered the JUNG library, that allowed me to visualize what I was doing with realtime animation. So I ... |
21. check the focus of JFrame forums.oracle.comThe problem is a bit more complicated. Imagin you have seven small Jframes in front of you and one J Frame Below that, which is a contoller. The controller has to perform action on the active frame (one in focus), but when the user clicks on the controller. the controller itself becomes the active frame, and all the 7 become deactive... ... |