I am developing an Eclipse RCP application and have a strange problem:
I open da new dialog window using final Shell dialog = new Shell(Display.getCurrent()); and display a tree (Tree tree_indicators = new Tree(dialog, SWT.None);) in it.
When I run the code on my developing environment (Ubuntu 11.04 64-Bit, GTK), all is fine, the tree will be displayed correctly.
When I Export the application to Win32 (32 Bit) and run it on Windows XP in a virtual Machine (using VirtualBox), the Dialog opens correctly, but the tree will not be displayed.
I also call dialog.pack(); which reserves space for the tree but it isn’t visible. I have no clue what the problem is, I also do not get any error message or log entry.
Do you have any suggestions where to search for a solution?
Thanks
Solved it, was a silly mistake.
When I filled the tree I set redraw to false and forgot to set it to true after filling: