I have developed an application in Java in Netbeans IDE. My application uses one JFrame and some JDialogs.The problem that I have is that when I run the application both JFrame and JDialogs shown in the upper left corner of the screen but i would like to appear on the center. I searched on the internet and i have found code to do this but it did not work. Please, can you tell me how it's done to show forms in the center of the screen.
Thank you very much for your time.