Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    That looks like it. The API doc is where you find all sorts of stuff. Read on.
  2. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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
  3. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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.
  4. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    You're welcome. Keep on coding!
  5. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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.
  6. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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...
  7. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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).
  8. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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...
  9. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    What code called the NewCheckInfo constructor ( = new ...)
    What happens after the constructor returns?
  10. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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.
  11. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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:

    ...
  12. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    Is there a Login class and a class with a main method so your code could be compiled and executed?
  13. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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...
  14. Replies
    32
    Views
    3,302

    [SOLVED] Re: Newbish Question...(s)

    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...
Results 1 to 14 of 14