mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-16 22:28:59 +00:00
minor fix: clear commands from event thread
This commit is contained in:
parent
82305b3572
commit
aa74e55347
@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: AbstractCompileDialog.java,v 1.2 2009/03/10 21:13:07 fros4943 Exp $
|
* $Id: AbstractCompileDialog.java,v 1.3 2009/03/11 13:27:51 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.dialogs;
|
package se.sics.cooja.dialogs;
|
||||||
@ -489,7 +489,11 @@ public abstract class AbstractCompileDialog extends JDialog {
|
|||||||
nextButton.setText("Compile");
|
nextButton.setText("Compile");
|
||||||
nextButton.setEnabled(false);
|
nextButton.setEnabled(false);
|
||||||
commandsArea.setEnabled(false);
|
commandsArea.setEnabled(false);
|
||||||
|
SwingUtilities.invokeLater(new Runnable() {
|
||||||
|
public void run() {
|
||||||
commandsArea.setText("");
|
commandsArea.setText("");
|
||||||
|
}
|
||||||
|
});
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SELECTED_SOURCE:
|
case SELECTED_SOURCE:
|
||||||
|
Loading…
Reference in New Issue
Block a user