Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #5093

Re: How to select the monitor a shell is put on (SWT)

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 2012-03-17 16:56 -0400
Organization A noiseless patient Spider
Message-ID <jk2tmh$i06$1@dont-email.me> (permalink)
References <87mx7fxtll.fsf@Compaq.site>

Show all headers | 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 | NextPrevious in thread | Next in thread | Find similar


Thread

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