Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #3548

Re: JOptionPane

From "Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Subject Re: JOptionPane
Message-ID <fn9c3413fad7ur3k8ls5ctpf2drkk3hli3@4ax.com> (permalink)
Newsgroups comp.lang.java.gui
References <535415ec-86bb-4d57-85f6-5c604fb5c88a@w4g2000prd.googlegroups.com>
Date 2011-04-27 15:45 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Wed, 21 May 2008 21:57:51 -0700 (PDT), mamta81
<roy.mamta@gmail.com> 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

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

JOptionPane "mamta81" <mamta81@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
  Re: JOptionPane "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000
  Re: JOptionPane "Rogan Dawes" <rogan.dawes@THRWHITE.remove-dii-this> - 2011-04-27 15:45 +0000

csiph-web