Type: Posts; User: patelvrajn

Search: Search took 0.23 seconds.

  1. Replies

    Re: Hex to Binary Converter Help

    This is the current output of the code:

    Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "0xC"
    at java.lang.NumberFormatException.forInputString(Unknown...
  2. Replies

    Re: problem with BoxLayout and JTextField

    Use the setpreferredSize method for the textfields and set the Dimensions the way you want them to be. You can even make a Dimension object and use that for the setpreferredSize for all your...
  3. Replies

    Hex to Binary Converter Help

    This code is for a GUI Java program that is supposed to convert back and fourth between two numbering systems. For example, binary to decimal or decimal to binary. I have created methods for some of...
  4. Replies

    Whats wrong with my code?

    :confused: I am writing a java algorithm to find the factorial of a number (for example the factorial of 5 is 5*4*3*2*1 or 120), I know I can use recursion but I am already have a code that uses such...
  5. Re: Java Code Not Doing What I Want It To Do!

    That is what I need help doing. I want it to exit the loop when it reaches the inputted x,y, and z and say the String!
  6. Re: Java Code Not Doing What I Want It To Do!

    When x,y, and z were equal to the hour, minute, and second fields of the timer.
  7. Re: Java Code Not Doing What I Want It To Do!

    I have done what you have said, can you please respond with a solution to this problem?
  8. Re: Java Code Not Doing What I Want It To Do!

    It works for 00:00:00 and detects if boolean is true or not and it does print for that time but anything else it wont print the String. I know it does not stop because after it says the string for...
  9. Replies

    Re: [Asking] Response Serial Conection

    Can you specify the type of serial cable used and the device model and make please.
  10. Java Code Not Doing What I Want It To Do!

    The code is supposed to be a timer that stops at the specific minute, second, and hour specified by the user. However, it does not stop and continues without saying anything. This is the code please...
Results 1 to 10 of 10