java - Cannot instantiate the type List -


i getting erorr "cannot instantiate type list" when use below code:

list = new list(floatshell, swt.border | swt.multi | swt.h_scroll             | swt.v_scroll); 

but example given here: https://gist.github.com/suxiaogang/6311176d2c5b9a8d1867

what mistake have made?

you did import java.util.list; when need import org.eclipse.swt.widgets.list;


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -