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


Groups > comp.lang.java.programmer > #36786

Re: Can you lock a dialog and continue?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: Can you lock a dialog and continue?
Date Fri, 30 Jun 2017 15:40:31 -0500
Organization A noiseless patient Spider
Lines 15
Message-ID <oj6cot$55h$2@dont-email.me> (permalink)
References <34333fbb-4b83-454b-9395-4efaa019e95e@googlegroups.com> <fc1ca100-85e5-49fc-9f28-f961288b34e9@googlegroups.com> <oj68qi$ohv$1@dont-email.me> <c4b02e21-c034-43a5-be42-c5b2d5276a83@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Fri, 30 Jun 2017 20:36:45 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="841531b0e9e92185f374178ee5a1d0c6"; logging-data="5297"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KtBTo/62ASODkfs7wf7Os"
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
In-Reply-To <c4b02e21-c034-43a5-be42-c5b2d5276a83@googlegroups.com>
Content-Language en-US
Cancel-Lock sha1:TZpHSO091kQ7JRs9JTyuf7VQ8/0=
Xref csiph.com comp.lang.java.programmer:36786

Show key headers only | View raw


On 6/30/2017 15:19, Eric Douglas wrote:
> I was thinking more of a reusable process window I can show and hide from anywhere that could take a second?
> My test with 2 dialogs just disabling so I can keep running, rather than stopping for user input and putting everything inside the window open listener, sort of works.  Why can't I add new objects to the first window?

The whole purpose of a modal dialog is to allow you to suspend user 
input.  You don't have to use the dialog's window listener to start your 
next process, that was just to keep the example simple.

I think you ought to use a modal dialog for this unless you haven't 
completely described what you are trying to do (or I can't understand 
what you are up to :-).

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can you lock a dialog and continue? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-30 10:35 -0700
  Re: Can you lock a dialog and continue? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-06-30 14:24 -0400
  Re: Can you lock a dialog and continue? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-30 11:34 -0700
    Re: Can you lock a dialog and continue? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-06-30 14:33 -0500
      Re: Can you lock a dialog and continue? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-30 13:19 -0700
        Re: Can you lock a dialog and continue? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-06-30 15:35 -0500
          Re: Can you lock a dialog and continue? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-30 13:56 -0700
        Re: Can you lock a dialog and continue? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-06-30 15:40 -0500
          Re: Can you lock a dialog and continue? Eric Douglas <e.d.programmer@gmail.com> - 2017-06-30 13:52 -0700
            Re: Can you lock a dialog and continue? Martin Gregorie <martin@address-in-sig.invalid> - 2017-06-30 21:14 +0000
            Re: Can you lock a dialog and continue? Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-06-30 17:19 -0400

csiph-web