🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

jFrame refresh from application?

#1483
From: Jay W
Date: Tue, 09 Dec 2003 16:59
21 lines
2108 bytes
I'm working on an application that I want to send messages to a textPane
(within a jFrame/jPanel).

The application is run within "btnProcess_actionPerformed" (clicking on a
button)

I create an instance of a predefined jFrame and send text to a method that
does a settext within the text pane.

The problem is that all I get is a gray panel without components or an
updated message.

If I return from the "actionPerformed" the screen refreshes and looks fine,
but while it is in the action performed I get no GUI display.

Any ideas how I can accomplish this?

Thanks in advance.

P.S. I confess that I am a Java newbie but have worked in numerous other
languages.
Technical Details
Message-ID: <hdCdnUSRELLjYkiiRVn-ig@comcast.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newshosting.com!news-xfer2.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d16dfb7348162a05,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-09 08:59:43 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newshosting.com!news-xfer2.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 09 Dec 2003 10:59:41 -0600
From: "Jay W" <jandk1@nospanners.comcast.net>
Newsgroups: borland.public.jbuilder.java.swing
Subject: jFrame refresh from application?
Date: Tue, 9 Dec 2003 11:59:42 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <hdCdnUSRELLjYkiiRVn-ig@comcast.com>
Lines: 23
NNTP-Posting-Host: 68.45.203.57
X-Trace: sv3-EG57DR4zwEvspyxCal/amD0SAOLXkDvRQhzkjhrHLggADK4ZcPN+IgsQuUl8iEvyyErst3PqICAqlkg!GLE9ahxy9xgGOhYz2xu2ZPnnM+AopnqCbcm0OBDaqxjIrpgrOhxaaEpssKmJ
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1