Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,200,096 members, 7,973,694 topics. Date: Sunday, 13 October 2024 at 12:14 AM |
Nairaland Forum / Science/Technology / Programming / Java Gui Problem Solver (1023 Views)
How Do I Make My Java GUI Stuff Executable (like desktop shortcut) / Stack Overflow Just Launched Real-world Developer Problem Solver / Java Gui Gurus (2) (3) (4)
Java Gui Problem Solver by Akprof(m): 4:48pm On Jun 20, 2015 |
Hi my fellow Programmer/Nairalander, pls I need an assistance on to use the confirm dialog. YES or NO (i`e JOptionPane.showComfirmDialog(.........). Thanks a lot ). |
Re: Java Gui Problem Solver by FincoApps(m): 7:19pm On Jun 20, 2015 |
What exactly do you need, how to get what the person clicked on ? Akprof: |
Re: Java Gui Problem Solver by Akprof(m): 9:00pm On Jun 20, 2015 |
Exactly, pls can u help out? |
Re: Java Gui Problem Solver by FincoApps(m): 9:12pm On Jun 20, 2015 |
Akprof: The showConfirmDialog returns an integer so you assign the method to an int variable. Then you can check by checking the value of the int variable. JOptionPane class has some fields you can use to check the exact button that was clicked. See an example:
Replace the annoying smiley face with a closing bracket |
Re: Java Gui Problem Solver by Akprof(m): 3:31pm On Jun 21, 2015 |
Thanks my bro 1 Like |
(1) (Reply)
Google Play Payments / Database Design Expert Needed / Please, How Do I Open A Skype Account That Provides A Skype Name.
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 20 |