updateUI();?
rev aaron
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 9:08 AM
To: [EMAIL PROTECTED]
Subject: Re: JTextField update ?
Sorry, the
pack();
doesn't work (the JPanel is still not updated)
Thanks anyway
Willy
======================================
From: "Sybille Breunig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Swing Liste" <[EMAIL PROTECTED]>
Subject: Re: JTextField update ?
Date: Thu, 15 Nov 2001 16:37:28 +0100
try the pack().
hope this helps
Sybille
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2001 2:58 PM
Subject: JTextField update ?
In wrote a Java 2 application (in fact a JPanel) collection some info from
CD's (title, path, zippath, filename) and record this info into a MS Access
database. No problem ...
Afterwards I changed the application by adding some feedback (nb dirs/files)
by adding a Thread
try {
engine.sleep(1000);
catch (...) { }
tfCount.setText(...);
this.repaint();
but the JPanel is not repainted ...
The only way to get feedback is replacing the "repaint"-statement by
Graphics g = this.getGraphics();
this.paint(g);
Is this the right way - or - how can repaint the JPanel by the
"repaint"-statement ?
TIA
Willy
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing