That's absolutely perfect for what I need. Thanks a lot
Type: Posts; User: jonok73
That's absolutely perfect for what I need. Thanks a lot
// Create Stockroom button
JButton btnStockroom = new JButton("Stockroom");
// Add event handler for Stockroom button
btnStockroom.addActionListener(
new...
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...
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...
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...