sorry didn't see you already answered that one :o
Type: Posts; User: jesamjasam
sorry didn't see you already answered that one :o
import java.util.Scanner;
class SemesterProject {
public static void main(String[]args) {
Scanner scanReader = new Scanner(System.in);
String password = "";
int length;
int...
oh, ok then try this:
import java.util.Scanner;
public class While {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
I don't quite understand what you're trying to do, but from what i understand this is what you're looking for:
import java.util.Scanner;
public class While {
public static void...
Yes that's it, requestFocus() did it. Thank you i would never figure this out by myself.
Yes, as you can see in Igra class i added key listener and made a private class (Slusalac) to serve as one, when i create Igrac object directly in my Igra class it all works, but when i create Igrac...
I started learning java, and tried to make a game, i almost finished it but then i realized that it doesn't work, so i copied the project and started dumping code from my game to find what did i do...
Basically you have to call your getSSN method inside the while loop just after the print statement:
import java.util.Scanner;
public class SSNValidatorApp
{
public static String ssn;
...