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


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

Object message?

Received by 10.224.183.13 with SMTP id ce13mr13399582qab.4.1349725976832; Mon, 08 Oct 2012 12:52:56 -0700 (PDT)
Received by 10.236.192.168 with SMTP id i28mr1853618yhn.7.1349725976766; Mon, 08 Oct 2012 12:52:56 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!l8no31159090qao.0!news-out.google.com!r17ni19qap.0!nntp.google.com!l8no31838968qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Mon, 8 Oct 2012 12:52:56 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=184.76.139.203; posting-account=v1lx5wkAAAALWYfGBkwkMb2guPF9cW2u
NNTP-Posting-Host 184.76.139.203
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <9621cdc5-4aa4-4057-894f-93ef69915871@googlegroups.com> (permalink)
Subject Object message?
From bob smith <bob@coolfone.comze.com>
Injection-Date Mon, 08 Oct 2012 19:52:56 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Lines 9
Xref csiph.com comp.lang.java.programmer:19190

Show key headers only | View raw


Can someone tell me why "message" is an Object here in javax.swing.JOptionPane?

Why isn't it a String?

showMessageDialog
public static void showMessageDialog(Component parentComponent,
                                     Object message)
                              throws HeadlessException
Brings up an information-message dialog titled "Message".

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


Thread

Object message? bob smith <bob@coolfone.comze.com> - 2012-10-08 12:52 -0700
  Re: Object message? Arne Vajhøj <arne@vajhoej.dk> - 2012-10-08 15:58 -0400
  Re: Object message? Knute Johnson <nospam@knutejohnson.com> - 2012-10-08 13:00 -0700
  Re: Object message? Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-10-08 16:13 -0400
  Re: Object message? Roedy Green <see_website@mindprod.com.invalid> - 2012-10-09 02:11 -0700
    Re: Object message? Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-10-09 23:46 +0200
      Re: Object message? Lew <lewbloch@gmail.com> - 2012-10-09 16:01 -0700

csiph-web