Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Different Display objects(Different ways of getting Display object.)
Different Display objects [message #989664] Fri, 07 December 2012 03:55
Rahul Yadav is currently offline Rahul Yadav
Messages: 65
Registered: July 2009
Hi Guys,

What is the difference between follwoing 3 ways of getting Display object.

1. Display display = PlatformUI.createDisplay();

2. Display display = Display.getDefault();

3. IWorkbench workbench = PlatformUI.getWorkbench();
Display workbenchDisplay = workbench.getDisplay();

Thanks & Regards,
Previous Topic:Eclipse Jobs and Threads
Next Topic:Executing BG process in UI thead.
Goto Forum:

Current Time: Fri Aug 22 15:42:05 EDT 2014

Powered by FUDForum. Page generated in 0.01669 seconds