That looks like it. The API doc is where you find all sorts of stuff. Read on.
Type: Posts; User: Norm
That looks like it. The API doc is where you find all sorts of stuff. Read on.
I think those refer to alignment of a component within a container. Not to the location of a window.
Try some and see what happens
There probably is a method to call that will do it.
The old way was to get the screensize and the size of the window and compute where the left corner should go and use setLocation.
You're welcome. Keep on coding!
That's what modal mode means.
Why would your design require having multiple windows open/displayed with any of them being alive for input? Seems like a strange design.
Did you use the JDialog class for that? You should be able to have EXACTLY what you want.
I made these changes to NewLogin:
public class NewLoginDialog extends JDialog
public...
Have you tried using a modal dialog window to get data vs a Frame?
The program freezing may be some conflict with the way you executing code on the Swing event display thread (EDT).
You've posted way too much code to look thru. I prefer working with a single source with ALL the code in one file.
And now I see that what is posted won't work.
The only thing I can suggest is...
What code called the NewCheckInfo constructor ( = new ...)
What happens after the constructor returns?
What is the next piece of code that is executed after you login? Trace the logic flow from that point. Add printlns if you don't have an interactive debugger.
There are no .java source files in the GameGUI.jar file.
I'm not going to run anyones jar file without the source.
When I tried to execute your jar file in a Secure environment I get this:
...
Is there a Login class and a class with a main method so your code could be compiled and executed?
No, listeners do not stop the program.
You need to show the GUI to the user with listeners set for all the buttons etc and then exit the method that built the GUI. You do NOT put in a loop to wait...
Is there a Login class and a class with a main method so your code could be compiled and executed?
Display the GUI with the radio buttons and exit. The RB need to have listeners.
When the user...