Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!

Ian Locke

Greenhorn
+ Follow
since Feb 26, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ian Locke

Thanks Micheal Dunn

I got it working by getting the data from the hashmap.

Cheers
Ian
14 years ago
Hi

Im trying to get a Customer to display in a JLabel after I enter its HashMap ID in a JTextField. I want it to appear after clicking a button to search for the ID. The name of the HashMap is:

mapCustomer = new HashMap<String, Customer>();

The button is in my addBooking JDialog.

Thanks
Ian


14 years ago
Ok nice one

Thanks for the help
14 years ago
I want it to be another JFrame but I cant get 2 JFrame's to work. When I click the button I need to enter the customers info and have some buttons to select what I want to do with this info.

Thanks
Ian
14 years ago
Hi everyone

Im trying to get a new window to open once I click the Add Customer button in my first window, but I have no idea how to do it. Could someone point me in the right direction?

Cheers
Ian

Here's my code so far:



14 years ago