Hello guys, i have a question regarding how to change the origin of a window, particularly a JFrame.
I'm essentially running a program called "Fraps" to see the frames per second of my JFrame, with this program, you can display the fps on any 4 corners of the window currently on focus, however, my problem is that if i choose to display the fps on the top left or right of the window, it overlaps the information tab or whatever (the bar that displays the name of the process and minimize/exit buttons) so the fps display becomes nearly invisible.
There's a cheap way to fix this, I could simply make the JFrame undecorated, but that will make the moving of the window on the monitor impossible, so I don't want to go this route.
I'm thinking that if i can change the origin of the screen to be 0 + the inset of the information bar's width and 0 + the inset of the information's bar height, this problem may be resolved.
Any ideas on this issue? Thank you guys for your time.
Edited 4 Years Ago by thanatos1