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
Post a Comment