Title: suspend the awt thread
Hi,
I want to suspend the awt thread but still get painting done. Is this possible?
assume this piece of code:
actionPerformed(ActionEvent e)
{
Runnable myRunnable = new MyRunnable();
Thread workerThread = new Thread( myRunnable );
workerThread.start();
2003
8:45To: Deblauwe, Wim; [EMAIL PROTECTED]Subject: Re:
suspend the awt thread
Sorry - sent it before completing my sentence - I meant to
say a) seems the best way . :-)
- Original Message -
From:
Sachin
Hejip
To: Deblauwe, Wim ; [EMAIL PROTECTED
operations inside the runnable - finish off the
whole task inside the run method.
- Original Message -
From:
Deblauwe, Wim
To: 'Sachin Hejip'
Sent: Wednesday, June 11, 2003 1:17
PM
Subject: RE: suspend the awt
thread
But after the call
/I18N
Que Java400? http://www.jguru.com/faq/Java400
- Original Message -
From: Deblauwe, Wim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 7:48 AM
Subject: weird focus behaviour with 2 JTextArea's
Hi,
I want enable TAB/SHIFT-TAB in a JTextArea to go
Title: RE: Setting new JPane to a JFrame.
After this line:
m_frame.setContentPane(createPanel(fileChooser.getSelectedFile()));
put:
m_frame.validate();
or
m_frame.pack();
if the size of the frame should/can change.
-Original Message-
From: [EMAIL PROTECTED]
Title: RE: Path Files
Use the following construct:
ImageIcon image = new ImageIcon( getClass().getResource( images/file_close.gif ) );
This construct will find resources that are in the classpath.
Suppose this code is in a class in a package com.mycompagny.application, then you need to