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


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

Re: How to extend an array

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How to extend an array
Date Tue, 31 May 2016 14:01:08 -0400
Organization A noiseless patient Spider
Lines 16
Message-ID <nikjh6$7ud$1@dont-email.me> (permalink)
References <ae727260-8c33-4648-8995-f387a6eb8b52@googlegroups.com> <nikc0f$b0v$1@dont-email.me> <nikc72$c5q$1@dont-email.me> <0ef8b15c-b3d1-4e80-b3ac-2fc577b6569f@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 31 May 2016 18:01:10 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="2d081e2f7155c28005d4472f67c2f43d"; logging-data="8141"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2SCsE4lcuggXT0IFQALzO"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
In-Reply-To <0ef8b15c-b3d1-4e80-b3ac-2fc577b6569f@googlegroups.com>
Cancel-Lock sha1:EoQOTFRtQVmE8yeqOde57X2SGwk=
Xref csiph.com comp.lang.java.programmer:34428

Show key headers only | View raw


On 5/31/2016 12:19 PM, Eric Douglas wrote:
> On Tuesday, May 31, 2016 at 11:56:29 AM UTC-4, Eric Sosman wrote:
>> Sorry; that should have been
>>
>> 	public static void main(String[] args) {
>> 	    SwingUtilities.invokeLater(new Runnable() {
>
> I looked that up once and found that SwingUtilities.invokeLater was a way to run something on the EDT way back in Java 1.1 which was later changed to just call EventQueue.invokeLater, so you can use either and there shouldn't be any noticeable difference.

     Yeah, but you've got to use *something* to ensure that Swingstuff
gets done on the EDT, and not on other threads.


-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

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


Thread

How to extend an array Eric Douglas <e.d.programmer@gmail.com> - 2016-05-31 07:52 -0700
  Re: How to extend an array Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-31 11:52 -0400
    Re: How to extend an array Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-31 11:56 -0400
      Re: How to extend an array Eric Douglas <e.d.programmer@gmail.com> - 2016-05-31 09:19 -0700
        Re: How to extend an array Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-31 14:01 -0400
    Re: How to extend an array Eric Douglas <e.d.programmer@gmail.com> - 2016-05-31 09:09 -0700
      Re: How to extend an array Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-31 14:11 -0400
        Re: How to extend an array Eric Douglas <e.d.programmer@gmail.com> - 2016-05-31 11:25 -0700
          Re: How to extend an array Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-31 17:01 -0400
            Re: How to extend an array Eric Douglas <e.d.programmer@gmail.com> - 2016-06-01 04:57 -0700
  Re: How to extend an array Roedy Green <inquiry@mindprod.com> - 2016-05-31 21:56 -0700
    Re: How to extend an array Eric Douglas <e.d.programmer@gmail.com> - 2016-06-01 04:49 -0700
  Re: How to extend an array Robert Klemme <shortcutter@googlemail.com> - 2016-06-01 23:07 +0200
    Re: How to extend an array Eric Douglas <e.d.programmer@gmail.com> - 2016-06-03 05:38 -0700
      Re: How to extend an array Robert Klemme <shortcutter@googlemail.com> - 2016-06-04 19:17 +0200
    Re: How to extend an array Eric Douglas <e.d.programmer@gmail.com> - 2016-06-03 08:52 -0700

csiph-web