User input from JConsole?

FljpFl0p <silver_symphony_106-/[email protected]> Sat, 14 Apr 2012 10:49:53 -0700 (PDT)
Newsgroups gmane.comp.java.beanshell.user
Message-ID <[email protected]>
Hi, I've been trying to use your JConsole to create a simple command-line
interface. Every features is perfect, except that I still can't figure out
how to get the user input.

I tried using BufferedReader using getIn() as a parameter, but for some
reason the BufferedReader is blocked. I'm not familiar with neither
BufferReader or JConsole so I can't figure out how to fix the problem.

Can you help me fix this or give me an alternative?

Thank you

P/s: to make it easier for you to see the code, please view this URL:
http://stackoverflow.com/questions/10155782/java-how-to-read-user-input-from-beanshells-jconsole

--
View this message in context: http://beanshell.2283338.n4.nabble.com/User-input-from-JConsole-tp4557704p4557704.html
Sent from the BeanShell - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2