User input from JConsole?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

User input from JConsole?

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: