Find the location/Position of JFrame in the window
You can use getLocation()
or getLocationOnScreen()
method of JFrame which are inherited from java.awt.Component.
You can use getLocation()
or getLocationOnScreen()
method of JFrame which are inherited from java.awt.Component.