
good night
Please help senior java all, I want to make a brief program of reading data in the text area and then on the show to the j table. I created a new scrip like below but it does not enter into the j table. but his condition only in the println in netbeans.
String str;
BufferedReader reader = new BufferedReader ( new StringReader (editor.getText ())); try { while ((str = reader.readLine ())! = null) { if (str.length ()> 1) System.out.println (str.charAt (0)); }} Catch (IOException e) { e.printStackTrace ();}
His condition like this: I have a sentence like this
**Java is a programming language that uses user friendly. Java consists of
Some parts, namely J2SE, J2EE, J2ME.**
selection of words: language: java, programming, J2SE, J2EE, J2ME liaison: is, namely, verb: to use etc.
This sentence I input into the textarea, then by my word selection and input to the table here table.format is WORD | frequency (number of words) | word selection //header table
Java | 2 | language => because there are 2 java repetition in sentence
is | 1 | liaison
etc. so the next
please help with code, thank you very much
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.