ΣΤΡΑΤΑΚΗΣ ΞΕΝΟΦΩΝ created NETBEANS-3855:
-------------------------------------------

             Summary: Scanner input not working in jshell
                 Key: NETBEANS-3855
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3855
             Project: NetBeans
          Issue Type: Bug
          Components: java - JShell
    Affects Versions: 11.2
         Environment: windows 10 64bit
            Reporter: ΣΤΡΑΤΑΚΗΣ ΞΕΝΟΦΩΝ
         Attachments: bug1.jpg

I tried this in netbeans 11.2 (tools-->open java platform shell)
 {{[1]-> Scanner a=new Scanner(System.in);}}
{{|  a ==> java.util.Scanner[delimiters=\p{javaWhitespace}+][position=0][match 
valid=fa ...}}
{{[2]-> System.out.print("give number=");}}
{{[3]-> a.nextLine();}}
{{}}
i can see the output window but i can not enter values.{{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to