Search:

Type: Posts; User: jonok73

Search: Search took 0.09 seconds.

  1. Replies
    8
    Views
    1,276

    Re: Help with opening new classes

    That's absolutely perfect for what I need. Thanks a lot
  2. Replies
    8
    Views
    1,276

    Re: Help with opening new classes

    // Create Stockroom button
    JButton btnStockroom = new JButton("Stockroom");
    // Add event handler for Stockroom button
    btnStockroom.addActionListener(
    new...
  3. Replies
    8
    Views
    1,276

    Re: Help with opening new classes

    Yea that all sounds correct, actually after reading that back it doesn't make sense having the "You have chosen the Stockroom" dialog being displayed. So I will remove that.
    Once a button has been...
  4. Replies
    8
    Views
    1,276

    Re: Help with opening new classes

    Sorry, so I want the application to display a message saying "You've selected the Stockroom" and then when the user clicks OK on that dialog box it closes the original screen that had the buttons on...
  5. Replies
    8
    Views
    1,276

    Help with opening new classes

    Hi,

    I haven't looked at Java for a while. Can someone give me a hand with the following please.

    I have added a part of my program below, I just need to close the class and open a new one when a...
Results 1 to 5 of 5