Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SWT Thread problem

Tobias Hetzel
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,
i´ve got the following problem and don´t know how to get it work:

i´ve got a thread A (it´s not the main-thread). this thread A initiates two other threads B and C. Inside of B and C two windows should be opened (which once also be parallel operable). in my case, at most one window will be opened, cause it blocks the rest...
if i call the GUI-class inside of B and C with asyncExec() from A, i get nothing to see. as display i use inside of B and C Display.getDefault(), which one i refer to the GUI-class. Maybe also important is, that each of both, B and C, holds it´s own instance of the GUI-class.

it would be great if somebody of you guys has a rough plan, how to handle that problem...

greetz, iTob

PS: Sorry for my english...
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic