There is a Frame - the first window
There is a Dialog - the second window
After pressing the Button on the Frame, you need a smooth transition to Dialog.
Implemented it like this:
dialog.show(); this.hide(); Attach the Swing documentation in Russian (not just listing all methods or JavaDocs if there is no tutorial) or tell me how best to make the transition from one window to another.