Search:

Type: Posts; User: d9988

Search: Search took 0.19 seconds.

  1. Replies
    2
    Views
    733

    Re: while loop wont exit

    try:

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

    by d9988
    Replies
    3
    Views
    502

    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
    560

    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