I have one JFrame
and calling a JDialog
from that frame while initializing. In the dialog have a JButton
, when clicking on the button a new JWindow
opens.
Can I fix the position of window in the main frame? How to access the parent container (JFrame
extended) from JWindow
extended class?