Java attach JFrame to a running application window?
How can I attach a JFrame in the top right to another applications open window and stay with it while resizing? Is it possible? Here is a diagram of what i would like to accomplish: Thanks for the help! If this is not possible, are there alternatives ? Ways to get window size/location and set my own jframe accordingly? You are asking Java to modify an already running non-Java program, and for these types of problems, Java is not the best tool. Please understand that one of Java's main strengths is its ability to run compiled code unchanged on multiple platforms. With this strength comes a