[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Opening Multiple Workbenches on startup

You can get an array of Monitor objects from the org.eclipse.swt.widgets.Display.getMonitors() method. You can also get the primary monitor from the getPrimaryMonitor() method. The Monitor object will let you get the bounds and client area for that monitor, which you would use to locate your window.
I'm not too sure where you would do this in RCP, but hopefully this helps a bit.


//Stephen

On Tue, 22 Nov 2005 11:35:46 +1100, Jason Clark <clarkjas@xxxxxxxxx> wrote:

The application I'm working on is a dual monitor application. I'm trying to figure out how to open a display on each monitor at startup, but as of yet, I am unable to. Anyone have any ideas/hints on how I can go about doing this?

Thanks.




-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/