Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 5455 Details for
Bug 40066
contention between debug console and SWT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
test case (standard Java application).
Main.java (text/plain), 1.21 KB, created by
Rafael Chaves
on 2003-07-14 18:08:23 EDT
(
hide
)
Description:
test case (standard Java application).
Filename:
MIME Type:
Creator:
Rafael Chaves
Created:
2003-07-14 18:08:23 EDT
Size:
1.21 KB
patch
obsolete
>/******************************************************************************* > * Copyright (c) 2000, 2003 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Common Public License v1.0 > * which accompanies this distribution, and is available at > * http://www.eclipse.org/legal/cpl-v10.html > * > * Contributors: > * IBM Corporation - initial API and implementation > *******************************************************************************/ > >import java.io.*; > >import org.eclipse.swt.widgets.Display; > >public class Main { > > public static void main(String[] args) { > new Thread() { > public void run() { > BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); > while (true) { > System.out.print("\n>"); > try { > br.readLine(); > } catch (IOException e) { > e.printStackTrace(); > } > } > } > } > .start(); > System.out.println("Running"); > Display display = Display.getDefault(); > System.out.println("Got display"); > while (!display.isDisposed()) > if (!display.readAndDispatch()) > display.sleep(); > System.out.println("Done"); > } >} > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 40066
: 5455