Search:

Type: Posts; User: wrightm96

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,247

    Re: Printing out numbers from an Array.

    You can do it in the same class.

    and as for the InterruptedException, you can just throw it when you start your "main" method.

    Thread.sleep(# of milliseconds); (just in case you want to change...
  2. Replies
    5
    Views
    4,824

    Re: Java USB detection

    Thanks a lot. I got it working! Only problem now is the jd2xx isn't actually getting USB devices. Do you know if jd2xx class gets just USB, or also USB 2.0?
  3. Replies
    6
    Views
    1,435

    Re: WHY WONT THIS COMPILE!

    1) Are BankAccount and Tester in the same package/location? That might be why...if not:
    2) Change your constructor to have different arguments.


    BankAccount() instead of
    BankAcount(double...
  4. Replies
    2
    Views
    1,265

    Re: help me , im confused!!!!

    Okay, here is the problem, the '^' operator in java is NOT how you do an exponent. It is actually XOR, a binary math function. Instead of "prod = base ^ exponent;", use "prod = Math.pow(base,...
  5. Replies
    5
    Views
    4,824

    Java USB detection

    Hello

    Currently, I am trying to use JD2XX class to retrieve a listing of the USB devices on my computer, but I cannot get past a certain point. When I try to run TestingUSB, I get the following...
Results 1 to 5 of 5