Hi All,
I am getting the following warnings on line 3 when editing RegexTestHarness.java tutorial using
Java 7 & Netbeans 7.1.1 on Windows XP platform:
“Import section does not correspond to the specified code style rules”
Below is the content of RegexTestHarness.java:
It ran with the following output in Netbeans:
run:
No console.
Java Result: 1
What is wrong with the console import on line 3 and how RegexTestHarness invoke it within Netbeans to use it? It appears to have failed due to not able to locate / launch java.io.Console.
JConsole plugin has been added to Netbeans without success. I have done some Googling but could not find an answer for it.
I have been directed by Netbeans forum members back here since this is a general Java question.
Thanks,
Jack