I am curious how would I read using BufferedReader inside JTextArea
For example:
JTextArea output;
int id;
BufferedReader in = new BufferedReader
(new InputStreamReader (System.in));
output.setText("Enter your ID please: ");
id = Integer.parseInt (in.readLine()); // <-- would have worked if this was a standard console window
// How do I do the same as above just inside a JTextArea
Thanks guys