Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Nebula grid loads slowly when there are more than 200 columns on Ubuntu Linux(Nebula Grid Loading Issue)
Nebula grid loads slowly when there are more than 200 columns on Ubuntu Linux [message #697332] Sat, 16 July 2011 07:55
Satyendra  is currently offline Satyendra Friend
Messages: 1
Registered: July 2011
Junior Member
Hi

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);
if(i==0)
{
column.setWidth(20);
}
else if(i==1)
{
column.setWidth(30);
}
else if(i == delimitCol)
{
column.setWidth(5);
}
else
{
column.setWidth(3);
}
}

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);

bottomGridDayView.setHeaderVisible(false);
bottomGridDayView.setRowHeaderVisible(false);
bottomGridDayView.setCellSelectionEnabled(true);


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.


Regards,
Satyendra Kumar Singh
Previous Topic:Nebula grid loads slowly when there are more than 200 columns on Ubuntu Linux
Next Topic:Questions about stability of certain widgets and usage in RCP application
Goto Forum:
  


Current Time: Tue Dec 23 02:27:13 GMT 2014

Powered by FUDForum. Page generated in 0.01777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software