Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.1

Posted: 2006-04-13

Build Requirements: Xcode 2.0 or greater

Runtime Requirements: Java 1.4.2 or later

View Source Code:

Download Sample Code (“BlockedEventQueue.zip”, 60.8K)



Description

This example is intended for use with debugging techniques on Mac OS X. It demonstrates the problems that can occur when a Java ActionListener blocks the AWTEventQueue, which can be analyzed using various command-line tools.

Document Revision History

Date Notes
2006-04-13Created project for Xcode 2.1 or later; updated compiler options to generate 1.4 compatible bytecode; now builds an app bundle.
2005-06-01Counter-example: shows hang when Java ActionListener blocks AWTEventQueue
Did this document help you? Yes It's good, but... Not helpful...