Because this if statement.
if (input == "y") {
Should look like this to work.
if ("y".equalsIgnoreCase(input)) {
Type: Posts; User: Json
Because this if statement.
if (input == "y") {
Should look like this to work.
if ("y".equalsIgnoreCase(input)) {
Possibly :/
// Json
haha
*cough* didnt expect that from you *cough*
Maybe we need to start putting together some nice JNI common stuff :)
// Json
I dont think its possible to just detect one keypress from the System.in inputstream unless the keypress is the return/new line key.
The problem is that the OS does not send the data to the...
Maybe use the Scanner class.
// Json