Re: JOptionPane



On Wed, 21 May 2008 21:57:51 -0700 (PDT), mamta81
<roy.mamta@xxxxxxxxx> wrote, quoted or indirectly quoted someone who
said :

i have a problem. Suppose i have a JButton . When it is
clicked a JOptionPane will appear.The number of times button will be
clicked that number of times the JOption Pane appears.So i have to
click on the OK button of that JOption Pane that number of times. Is
there any solution so that no matter how many times the button iis
clicked the JOption Pane will appear only once.
Please help
You could in your button handler disable the button. When the JOption
pane completes, enable it again.
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.


Quantcast