|Nebula grid loads slowly when there are more than 200 columns on Ubuntu Linux [message #697332]
||Sat, 16 July 2011 07:55
Registered: July 2011
I am creating more than 200 columns in nebula grid using for loop. It is
working fine in windows platform, but when the same source is run on ubuntu
linux it takes lot of time to load. In Ubuntu it takes more than 10 secs and in
windows it takes only 2-3 seconds.
The code is as follows :
for (int i = 0; i < 200 ; i++)
GridColumn column = new GridColumn(bottomGridDayView,SWT.NONE);
else if(i == delimitCol)
We are creating around 200 columns on the grid (bottomGridDayView). The grid is formed by the code below.
bottomGridDayView = new Grid(canvas,SWT.NONE | SWT.V_SCROLL | SWT.H_SCROLL);
On Windows XP :- Above code loads the grid in 2-3 seconds
On Suse Linux :- Above code loads the grid in 2-3 seconds
On Ubuntu Linux :- Above code loads the grid in more than 7 seconds
We are facing this problem only on Ubuntu linux operating system.
Please help us to solve the issue.
Satyendra Kumar Singh
Powered by FUDForum
. Page generated in 0.02384 seconds