Question
HI I need someone to do the method on the following code Alright first I have four buttons group on window named (Menu) 1-HotCoffee I
HI I need someone to do the method on the following code
Alright first I have four buttons group on window named (Menu)
1-HotCoffee I have three Radiobuttons jb1-jb2-jb3
2-IcedCoffee jb4-jb5-jb6
3-Cakes jb7-jb8-jb9
4-Bakery jb10-jb11
Each one of them have at least 3 options
so as you can see I want the user choose at least one option of each group and the results will show on the second window Named(End) with the labels I have 4 label for each group
la1
la2
la3
la4
here's the photo so you can get the idea
you can edit on the following code that will do everything because if I clicked on Button Next will show all the results including the orders I tried everything but didn't work out please help me with it :(
(NOTE: the one on the Bold fonts don't change it) :)
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { End m = new End(); End.t1.setText(Menu.txt0.getText()); End.t2.setText(Menu.txt3.getText()); jb1.setActionCommand("Hot Mocha"); jb2.setActionCommand("Cappuccino"); jb3.setActionCommand("Americano"); End.la1.HotCoffee.getSelection().getActionCommand();
m.setVisible(true); }
Please select what you want to have: G roupl Groupr Group3 Bakery Phin crosesant >b1 Please Enter Your Phone Number: 050033401 Next Here's Your Order Enjoy Your Day Your name: Your Phone Number: Please select what you want to have: G roupl Groupr Group3 Bakery Phin crosesant >b1 Please Enter Your Phone Number: 050033401 Next Here's Your Order Enjoy Your Day Your name: Your Phone NumberStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started