Search:

Type: Posts; User: minju

Search: Search took 0.38 seconds.

  1. Replies
    5
    Views
    282

    Re: Calculate total earning of a worker

    Does it work for you?
    And also highlight the code with the [code=java] tags next time.
  2. Re: Can somebody help me to answer this? Thanks!

    What is your question?
  3. Replies
    2
    Views
    293

    Re: Number Programming NumberFor

    You have braces{} but nothing before it, like if, while, for.
  4. Re: Program goes into infinite compilation. University project - Library Program.

    You have to put the boolean variable's name instead of "boolean".
  5. Re: Program goes into infinite compilation. University project - Library Program.

    You can't compare a declarator with something.
  6. Re: Can't find an example on how to append text to jframe!

    Hint: JFrame -> JPanel -> JTextArea -> append ^^
  7. Re: Poker question: How to give two values to the Ace

    Which error do you get?
  8. Thread: Full House help?

    by minju
    Replies
    1
    Views
    381

    Re: Full House help?

    The problem in the if-statement is that it fails, when the cards are not in order.
    e.g. AAAKK but not AAKAK

    You could solve this problem by checking three cards with the same number first
    and...
  9. Replies
    1
    Views
    214

    Re: Operation on a txt file..

    The problem is when you read the data into tokens[].
    while (line !=null)
    {
    tokens= line.split(",");
    System.out.println(line);
    line = br.readLine();
    }

    'Tokens' can only contain data of...
  10. Re: Tic-Tac-Toe (loops, arrays, and methods) help please

    [code]-tags? :)
  11. Re: Need Help with a do while loop I'm not sure if right Please Help!!

    Sure.

    boolean run=true;
    do{}
    while(condition&&run);
  12. Replies
    4
    Views
    270

    Re: Pacman ghost help

    You could check if there is a wall over the ghost.
    If not, it will "random generate a number to choose which way to go".
  13. Replies
    4
    Views
    270

    Re: Pacman ghost help

    So your problem is that when the ghost hits a wall with the speed of 5px the ghost moves into the wall 5px before it chooses another direction?
  14. Re: Need Help with a do while loop I'm not sure if right Please Help!!

    You could make a bool variable and set it as second condition to the do-while loop.
    When you change the bool you stop the loop.
  15. Re: How to delete several data in database using java?

    Put your code in [code] tags please.
  16. Re: Program goes into infinite compilation. University project - Library Program.

    Yeah as I mentioned you can create objects out of classes in the environment, but if you export the whole thing you need a main() method.
  17. Re: Program goes into infinite compilation. University project - Library Program.

    Sorry, my mistake.
    You do need a main() method I remember.
    But maybe clarky2006 is not aware of that because in BlueJ you have the availability to create an object out of a class without a main()...
  18. Re: Program goes into infinite compilation. University project - Library Program.

    @Norm
    yes the jar differs from normal ones because it has package.bluej included
    like if you have the classes test1, test2, test3 the jar will have
    META-INF
    test1.class
    test2.class
    test3.class...
  19. Re: Program goes into infinite compilation. University project - Library Program.

    In BlueJ you have no main() method.
    In the environment you have different classes and at when you export it to jar, you can choose which class you want to be the main class.
    The chosen main class...
  20. Thread: some help please

    by minju
    Replies
    7
    Views
    367

    Re: some help please

    can you describe your if problem a little more, please?
Results 1 to 20 of 20