🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #852

Re: creating a popup message box

#852
From: Tor Iver Wilhelmsen [TeamB]
Date: Fri, 08 Oct 2004 15:13
8 lines
1121 bytes
"Steve Shapiro" <sshapiro@rosettatechnologies.com> writes:

> I am trying to figure out how to have my gui app. generate a popup message
> box when it encounters an error.

Use the predefined utility class JOptionPane:

JOptionPane.showMessageDialog(yourFrame, ...);
Technical Details
Message-ID: <u3c0pckeu.fsf@broadpark.no>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4166a4a2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,917b7dddca623c80
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Sender: Tor Iver Wilhelmsen@TIWILHEL
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: creating a popup message box
References: <4166a4a2@newsgroups.borland.com>
From: tor.iver.wilhelmsen@broadpark.no (Tor Iver Wilhelmsen [TeamB])
Date: 08 Oct 2004 17:13:45 +0200
Message-ID: <u3c0pckeu.fsf@broadpark.no>
Lines: 8
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
NNTP-Posting-Host: 80.203.79.252
X-Trace: newsgroups.borland.com 1097248038 80.203.79.252 (8 Oct 2004 08:07:18 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail