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 220048 Details for
Bug 371545
Many window manager warnings: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0
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.
Snippet
Snippet.java (text/plain), 1.27 KB, created by
Markus Keller
on 2012-08-20 10:10:37 EDT
(
hide
)
Description:
Snippet
Filename:
MIME Type:
Creator:
Markus Keller
Created:
2012-08-20 10:10:37 EDT
Size:
1.27 KB
patch
obsolete
>package org.eclipse.swt.snippets; > >import org.eclipse.swt.events.*; >import org.eclipse.swt.widgets.*; > >public class Snippet { > > public static void main(String[] args) { > final Display display= new Display(); > final Shell shell= new Shell(display); > shell.setText("Snippet Shell"); > shell.addShellListener(new ShellAdapter() { > public void shellDeactivated(ShellEvent e) { > System.out.println("shellDeactivated()"); > > display.timerExec(2000, new Runnable() { > public void run() { > System.out.println("forcing active"); > shell.forceActive(); > System.out.println("shell is active: " > + (display.getActiveShell() == shell)); > System.out.println("forced active"); > } > }); > } > public void shellActivated(ShellEvent e) { > System.out.println("shellActivated()"); > } > }); > > shell.setSize(320, 200); > shell.open(); > > while (!shell.isDisposed()) { > if (!display.readAndDispatch()) > display.sleep(); > } > display.dispose(); > } >}
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 371545
: 220048