Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5093
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jeff Higgins <jeff@invalid.invalid> |
| Newsgroups | comp.lang.java.gui |
| Subject | Re: How to select the monitor a shell is put on (SWT) |
| Date | Sat, 17 Mar 2012 16:56:12 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 7 |
| Message-ID | <jk2tmh$i06$1@dont-email.me> (permalink) |
| References | <87mx7fxtll.fsf@Compaq.site> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sat, 17 Mar 2012 20:54:42 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="BSKXKq4dV+7jFlM4JDctyw"; logging-data="18438"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PIaDksfC9lPUjSmckfDgD5x7EVDWcm74=" |
| User-Agent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120207 Icedove/3.0.11 |
| In-Reply-To | <87mx7fxtll.fsf@Compaq.site> |
| Cancel-Lock | sha1:w1HegwsfLd7PXt+s+qULctVNHYM= |
| Xref | csiph.com comp.lang.java.gui:5093 |
Show key headers only | View raw
On 03/17/2012 09:08 AM, Cecil Westerhof wrote: > I am learning to work with SWT. I have two monitors. How can I select > the monitor where a Shell is instantiated? > I don't know about that. But you can locate a shell using Display.getMonitors(), and then Monitor.getClientArea(),and Shell.setLocation().
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
How to select the monitor a shell is put on (SWT) Cecil Westerhof <Cecil@decebal.nl> - 2012-03-17 14:08 +0100
Re: How to select the monitor a shell is put on (SWT) Jeff Higgins <jeff@invalid.invalid> - 2012-03-17 16:56 -0400
Re: How to select the monitor a shell is put on (SWT) Cecil Westerhof <Cecil@decebal.nl> - 2012-03-18 11:36 +0100
Re: How to select the monitor a shell is put on (SWT) "John B. Matthews" <nospam@nospam.invalid> - 2012-03-18 17:24 -0400
csiph-web