I tried to learn java gui back end coding from many other channels but they dont treat us as a beginner but treat us as a professional......i learn my basics over here i just love it😊😊
@farhantajwar87914 жыл бұрын
Thankyou so much . It works perfectly if you follow each and every step carefully
@bogdangolea18177 жыл бұрын
I wish to thank you very much for the time invested to teach me how to do a quick and easy vending machine. I appreciate your effort dearly. I wish you a wonderful day!
@udhaykumar29896 жыл бұрын
This program is very helpful for me and thank you
@jhonastanjr9 жыл бұрын
Excellent. Clear codes and easy explanation.
@akshit87258 жыл бұрын
THank you very much now i can pass my practicals ! you are awesome !
@akshit87254 жыл бұрын
After 3yrs he is likungy comment😁
@jobi0772 жыл бұрын
@@akshit8725 and im replying 6 yrs later
@akshit87252 жыл бұрын
@@jobi077 😅
@NancyBasoahScott9 жыл бұрын
Great Vending Machine Program.
@arsenioscott9 жыл бұрын
Nancy Basoah-Scott Thanks for watching
@taleyyy2911 ай бұрын
what are the contents of your vending machine file in the first tab??
@buteykobreathing16026 жыл бұрын
Hello can you help me please i need to program vending machines for mobile payments whithout internet thanks
@dittakavisaibutchiraju99786 жыл бұрын
Tq for u r code..... But a small request is that Can u code for change giving in less number of coins???
@zeke43569 жыл бұрын
Hello!! Awesome tutorial by the way!!! Quick question: how do you do to lets say that your item price is $1.15 or $1.80 or $1.55 how do you get the right change without an error?? Because I noticed that while your price is set to return in quarts values everything is great otherwise not so good. I appreciate your help and I'll be happy to buy you a cup of coffee for your time.
@MrTobersheer9 жыл бұрын
+arsenio scott what if you want to select 2 or more? please help me with the code snippet.
@bhavikjain10626 жыл бұрын
What if in the same program we want to take two different orders at a time but generate two receipt then how to do it?
@zinafarid20049 жыл бұрын
Thanks for your time and help, it worked.
@samikzr9 жыл бұрын
Nice work. Thank you sir.
@zinafarid20049 жыл бұрын
Thank you so much, silly me I fixed it I wrote the JOptionpane.showMessageDialog wrong. pepssi_rb = new JRadioButton("Pepsi"); pepssi_rb.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { if (pepssi_rb.isSelected()) { JOptionPane.showMessageDialog(null,"Enjoy your"+pepssi_rb.getText()); dietpepssi_rb.setSelected(false); mountaindew_rb.setSelected(false); drpepper_rb.setSelected(false); rootbeer_rb.setSelected(false); water_rb.setSelected(false); } } Thank you so much for trying to help I really appreciate that.
@arsenioscott9 жыл бұрын
zinafarid2004 ok This works to if you want to check it out if (rootbeerRB.isSelected()){ pepsiRB.setSelected(false); lemonadeRB.setSelected(false); pepsiRB.setSelected(false); cokeRB.setSelected(false); waterRB.setSelected(false); } JOptionPane.showMessageDialog(this, " Enjoy You have Selected " + "Root Beer"); }
@TeamxReaperz3 жыл бұрын
Not too familiar with GUI development in Java but for me I probably would've had each radio button call the same method. Each radio button would then have a unique ID that gets passed in the ActionEvent.
@brrrruth Жыл бұрын
Your clear button only works once .. like if i hit that button my code just stop working ... I cant purchase anymore it show no change ... Why
@JoshuaDixonHolideckVRShowcase7 жыл бұрын
Very helpful. Thank you soul brother..
@jobaptist5 жыл бұрын
why are you even thanking him.. this program is basically useless and the code is total garbage... in modern software, we can do all this with Artificial intelligence... you just tell the computer what software to create and automatically you will receive the package files in the email...
@jessmuelpelimer87713 жыл бұрын
can someone help me with the decimal format of the change my teacher asked to change the decimals into whatever they want and i cant answer it pls ASAP
@mrlance65756 ай бұрын
it's running but when I purchase more with not enough money it will add money to change
@acevoncruz3 жыл бұрын
how do you have an alignment guide? is that a plugin?
@rubbyubay_6 жыл бұрын
MANY THANKS BROS !
@zinafarid20049 жыл бұрын
Nice Work. please make more Java GUI projects or games.
@arsenioscott9 жыл бұрын
zinafarid2004 Thanks will do.
@jeffreydelacruz52886 жыл бұрын
Did you use looping in this program?
@Burak-pl1jl5 жыл бұрын
I wonder why you didn't use ButtonGroup instead of setting all the other ratio buttons to setSelected(false).
@webaruhazberles6 жыл бұрын
did you see in any machine displayed the menu?
@estherbgm6 жыл бұрын
very helpful. thx
@butterchicken68036 жыл бұрын
Some asmr right here
@zinafarid20049 жыл бұрын
Thanks for replying back. I mean in your example you used Radio buttons but you didn't put them in group and name that group. I did the same like you, I used radio buttons and then I used event handler for each radio button when I say : if (pepssi_rb.isSelected()) { //JOptionPane.showInternalMessageDialog(null,"Enjoy"+title_holder); dietpepssi_rb.setSelected(false); mountaindew_rb.setSelected(false); drpepper_rb.setSelected(false); rootbeer_rb.setSelected(false); water_rb.setSelected(false); } JOptionPane is giving me error when I run.
@arsenioscott9 жыл бұрын
zinafarid2004 Ok i see what your trying to do Ill do some tests and let you know what i come up with.
@Visionist8 жыл бұрын
Legend says that zinafarid is still waiting till this day.
@officialnikoadriansfilmerh77485 жыл бұрын
Lol
@goflux7 жыл бұрын
Could I get the source code for this? I'm having some issues with the underlying principles, though the video is quite helpful.
@JustinTheVlogger5 жыл бұрын
I got an error here: private void RootBeerRBActionPerformed(java.awt.event.ActionEvent evt) { if (RootBeerRB.isSelected()) { CokeRB.setSelected(false); WaterRB.setSelected(false); LemonadeRB.setSelected(false); PepsiRB.setSelected(false); SpriteRB.setSelected(false); }
@user-xg1cp2zo3l8 жыл бұрын
nice working! can i make it integer? instead of double?
@dheerajlxst91418 жыл бұрын
you can use integers indeed but they are whole numers like 1, 2 or 50
@patrickdadon57948 жыл бұрын
Bro its saying can ind main method can you help me
@sunday12205 жыл бұрын
what if there's no money being input?
@leonegieporgadas17668 жыл бұрын
can you please sent me a code of that vending machine. as soon as possible. thank you.
@zinafarid20049 жыл бұрын
Please how can I get the JRadioButtons text without grouping them. Can I have your email to show you my vending machine work, I am stuck on displaying JOptionPane message saying " Enjoy your diet pepsi" for example after selecting a radio button.
@arsenioscott9 жыл бұрын
zinafarid2004 Lets figure this out what do you mean when you say you don't want to group them together
@angelocabbab16153 жыл бұрын
What programming language is this
@arsenioscott3 жыл бұрын
Java
@angelocabbab16153 жыл бұрын
I have sololearn account and i want to code them but the problem is the java of sololearn has no design page like netbeans Thank for your concern im totally beginner
@christinabyssinia8944 жыл бұрын
How to get the source code 😢😢😢🤦♀️🙇♀️
@udhaykumar29896 жыл бұрын
You're Nice man! I want to make Happy Shopping and help me!
@lilcarlitos22319 жыл бұрын
Wow nice voice I wish I had yours
@arsenioscott9 жыл бұрын
UnluckyPickle 7 Thanks for the compliment
@carvelbell1818 жыл бұрын
I enjoy this project. Please send me the source code.
@khalidahmed95813 жыл бұрын
I need this but in python I have it due in 2 days
@hajaranis43736 жыл бұрын
can i get the source code ?
@asleepius8 жыл бұрын
Coke and Pepsi in the same vending machine?
@tejlim18226 жыл бұрын
I smell OOP2-3 cause of this
@MsZiel7 жыл бұрын
Can you please give me the source code please I'm wholeheartedly begging you
@srinut34607 жыл бұрын
hi, please send me the source code. my mail address is srinutech555@gmail.com
@salihainfo14674 жыл бұрын
merci mais l'ecriture ,'est pas claire
@silentthriller5 жыл бұрын
WTF? This is drag and drop shit. We actually have to write the code.