This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
}
private boolean blocked = false;
public void run() {
if (SwingUtilities.isEventDispatchThread()) {
title = null;
updateTitle();
blocked = true;
try {
} finally {
blocked = false;
} else {
synchronized (this) {
protected InputStream getStream (URL page) throws IOException {
SwingUtilities.invokeLater (SwingBrowserImpl.this);
// XXX debugger ought to set this temporarily
if (Boolean.getBoolean("org.openide.awt.SwingBrowserImpl.do-not-block-awt")) {
if (Boolean.getBoolean("org.openide.awt.SwingBrowserImpl.do-not-block-awt") || blocked) {
// try to set contentType quickly and return (don't block AWT Thread)
setContentType ("text/html"); // NOI18N
return new FilteredInputStream (page.openConnection(),