CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Norm

Page 1 of 80 1 2 3 4

Search: Search took 0.20 seconds.

  1. Re: A Fast method of Converting String to int array in Java?

    Use split to create a String array with the separated numbers (as Strings)
    Create in int array of the same size
    loop through the String array using Integer.parseInt to convert each String and...
  2. Replies
    1
    Views
    635

    Re: Picture Comparison Code Not Working Properly

    Also posted here: https://coderanch.com/t/744374/java/Picture-Comparison-Code-Working-Properly

    Note: Posted code is missing an import statement and will not compile.
  3. Re: NoClassDefFoundError trying to read Excel File

    Please copy the full text of the error message and paste it here.

    Is the missing class in a jar file that is on the classpath when the program is executed.

    Also posted here:...
  4. Replies
    6
    Views
    1,611

    Re: IllegalAccessError, cannot acces class

    Did you do a clean and a full rebuild?

    Try making the Creature class public.
  5. Replies
    6
    Views
    1,611

    Re: IllegalAccessError, cannot acces class

    The posted code looks like it should work. Are there other versions of the Creature class where myid() was not public?
  6. Replies
    5
    Views
    1,901

    Re: First Java app, REST

    Very little of my java code has much GUI. Mostly it is file contents manipulations.
    I can't recommend an IDE as I don't use one much, except Eclipse with Android.
  7. Replies
    5
    Views
    1,901

    Re: First Java app, REST

    I have never worked with those products and know nothing about them.
  8. Replies
    5
    Views
    1,901

    Re: First Java app, REST

    Are you locked in to using VS? Many java programmers use either Eclipse or Netbeans for java programming.
    I use an enhanced editor with some commandline tools for compiling and executing.
    It is...
  9. Re: Beginner array questions. Random letters and comparing word against those in arra

    Arrays do not generate values. They contain values. If the letters are Strings of length 1 then a String[] would work.
    If the letters will be char then char[] would work.
    One way To get random...
  10. Thread: JAVA errors

    by Norm
    Replies
    3
    Views
    2,123

    Re: JAVA errors

    Look at how the other methods are declared to see how it needs to be done.
  11. Thread: Data type

    by Norm
    Replies
    7
    Views
    1,778

    Re: Data type

    Where does the code use the format() method to create the display you want to see?

    Add a println statement to print out the value of the String created by format method so you can copy and paste...
  12. Thread: Data type

    by Norm
    Replies
    7
    Views
    1,778

    Re: Data type

    Can you post the code, values and the output that shows what you are talking about?
    Add comments that describe what is wrong with the current output and show what you want the output to look like.
  13. Thread: Data type

    by Norm
    Replies
    7
    Views
    1,778

    Re: Data type

    How are you displaying the value? Are you using a format() method?
  14. Thread: Data type

    by Norm
    Replies
    7
    Views
    1,778

    Re: Data type

    Can you explain why you think that value is an error? What value would you expect to see?
    How are you displaying the value?
  15. Thread: Exponents in Java

    by Norm
    Replies
    7
    Views
    1,647

    Re: Exponents in Java

    Can you ask a specific question about the problem you are trying to solve using java?

    Do you have any questions about what was on the web page you posted a link to in post#4?
  16. Thread: Exponents in Java

    by Norm
    Replies
    7
    Views
    1,647

    Re: Exponents in Java

    I've programmed in java for years and have never had to work with exponents.
    What specific questions or problems do you have?
  17. Thread: Exponents in Java

    by Norm
    Replies
    7
    Views
    1,647

    Re: Exponents in Java

    Can you explain what you mean by exponents in java?
    Are you talking about math expressions?
  18. Thread: Boolean Help

    by Norm
    Replies
    1
    Views
    3,585

    Re: Boolean Help

    What value(s) do you want to test?
    What action should the program take based on the results of that test?
  19. Re: New to Java: Programming a true/false on a report.

    Can you describe what test needs to be made?
    What action should the program take based on that tesr?
  20. Replies
    1
    Views
    1,203

    Re: .contains() but for char ?

    arrays do not have methods.

    Why not write a simple method yourself?
  21. Replies
    1
    Views
    3,605

    Re: Transfert folders/Files to another folder

    What language is that written in? This is a java programming forum.
  22. Re: Login window closes upon verifying credentials and opens main window

    FYI it is possible to call another class's main method just like any other static method:

    TheClassName.main(new String[]{});
  23. Re: Transfer Image from Raspberry Pi (Python) to Android app (Java)

    Also posted here: https://coderanch.com/t/713262/java/Saving-Image-Read-Server-Bitmap#3340172
  24. Re: Transfer Image from Raspberry Pi (Python) to Android app (Java)

    Have you tried transferring the image to a PC where there might be more debugging tools?
  25. Replies
    1
    Views
    1,156

    Re: Newbee Java and Mongo Questions.

    You can leave off any jar files that do not have class definitions used by your program or by any of the classes in the other jar files.
    Normally I create a script that has the full command line so...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured