import - Importing classes in NetBeans -


in eclipse once put library on class path, can use classes , right click on class name , eclipse gives suggestions of various classes matching names can imported.

i wish similar thing in netbeans, mouseover or select classname , click alt+enter suggested. options creating class within application. library opencsv - have used without trouble in eclipse (but want try netbeans).

this code (i want import classes csvreader , filereader) ... gives me option create own):

csvreader reader = new csvreader(new filereader("yourfile.csv"));     string [] nextline;     while ((nextline = reader.readnext()) != null) {         // nextline[] array of values line         system.out.println(nextline[0] + nextline[1] + "etc..."); } 

i don't want have manually write import statements ... netbeans expects?

you have use menu option "source -> fix imports" generate missing imports your


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -