Article View: borland.public.jbuilder.java.swing
Article #497flash message failed to show
From: tom
Date: Tue, 19 Jul 2005 23:12
Date: Tue, 19 Jul 2005 23:12
37 lines
1824 bytes
1824 bytes
Hi,
I can't figure it out why the flash message did not show. It shows the
windows frame but not the flash message.
Here's my code.
public void jMenuDataDisplay_actionPerformed(ActionEvent e) {
//show loading message"
JWindow jwin = new JWindow();
jwin.getContentPane().add(new JLabel("Loading Data
Display...",SwingConstants.CENTER));
jwin.setBackground(Color.white);
jwin.setBounds(400,400,200,100);
jwin.setVisible(true);
try {
Thread.sleep(600);
dataDisplay();
} catch (InterruptedException ex) {
ex.printStackTrace();
}
jwin.setVisible(false);
jwin.dispose();
//Call dataDisplay subroutine.
System.out.println("Calling dataDisplay");
// dataDisplay();
}
Thanks
Tom
Technical Details
Message-ID:
<42dd88f3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newscon02.news.prodigy.com!prodigy.net!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,94da675c9292bb5e,start X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "tom" <zhangx@gaia.ecs.csus.edu> From: "tom" <zhangx@gaia.ecs.csus.edu> Newsgroups: borland.public.jbuilder.java.swing Subject: flash message failed to show Date: Tue, 19 Jul 2005 16:12:43 -0700 Lines: 39 Organization: java developer beginner X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 136.200.198.187 Message-ID: <42dd88f3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1121814771 136.200.198.187 (19 Jul 2005 16:12:51 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newscon02.news.prodigy.com!prodigy.net!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail