Search:

Type: Posts; User: jesamjasam

Search: Search took 0.27 seconds.

  1. Replies
    8
    Views
    617

    [SOLVED] Re: Problems with Loop Structure

    sorry didn't see you already answered that one :o
  2. Replies
    8
    Views
    617

    [SOLVED] Re: Problems with Loop Structure

    import java.util.Scanner;

    class SemesterProject {
    public static void main(String[]args) {
    Scanner scanReader = new Scanner(System.in);
    String password = "";
    int length;
    int...
  3. Replies
    3
    Views
    422

    Re: Print Goodbye

    oh, ok then try this:


    import java.util.Scanner;

    public class While {

    public static void main(String[] args) {
    Scanner input = new Scanner(System.in);
  4. Replies
    3
    Views
    422

    Re: Print Goodbye

    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...
  5. [SOLVED] Re: Platform game player doesn't respond to keyboard

    Yes that's it, requestFocus() did it. Thank you i would never figure this out by myself.
  6. [SOLVED] Re: Platform game player doesn't respond to keyboard

    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...
  7. [SOLVED] Platform game player doesn't respond to keyboard

    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...
  8. Replies
    6
    Views
    1,008

    Re: confused on loop

    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;
    ...
Results 1 to 8 of 8