Search:

Type: Posts; User: d9988

Search: Search took 0.15 seconds.

  1. Replies
    2
    Views
    1,491

    Re: while loop wont exit

    try:

    while (!bookTitle.equalsIgnoreCase("done"))
  2. Thread: All Digits only

    by d9988
    Replies
    3
    Views
    1,359

    Re: All Digits only

    You can use the syntax Character.isDigit to determine if a character is a digit or not. Also, in your code, it's possible to exit with 'True' before checking the whole string (if the first character...
  3. Replies
    0
    Views
    1,325

    Issues with clearing my JList?

    I'm having an issue with clearing a JList (which has been added to a JScrollPanel). When I click the "clear" button, it clears fine. But if I first click "print" and then try to click "clear", the...
Results 1 to 3 of 3