Doubt reg ColorDialog and Forms/Windows
i am developing a plugin for eclipse 3.4 using SWT. I am adding certaing menus of the project in the eclipse perference page. In one page there is a button , on clicking the button , the colorDialog should be displayed. The ColorDialog needs both the Shell and Display . When i instanciate Shell and Display it results in a Invalid Thread Access exception. Please tell me how to overcome this and also display the ColorDialog when pressing a button(in Selection Listener Event).
In another page , i want to display a form when a button is clicked with some custom fields(Description , title) . i have instanciated the Form and FormToolkit objects , but it does not get displayed. please tell me how to display a form with certain fields like Label , text and Button. can i use Windows instead of form to get data.
Thanks in Advance
K Sathya Narayanan