Search:

Type: Posts; User: tintin

Search: Search took 0.11 seconds.

  1. Re: HELP: I have problem casting from Vector to Integer in Java

    Okay,
    Thanks for the description. It has been helpful.
    Thanks a lot, i was actually doing the operations which were used for Vector methods and obsolete for List, that's what i discovered when i...
  2. Re: HELP: I have problem casting from Vector to Integer in Java [SOLVED]

    Norm, thanks a lot for the replies, I got a solution to it.
    I guess i was casting it from Integet to vector in the first place, which was supposed to be a straight way from List to getting the...
  3. Re: HELP: I have problem casting from Vector to Integer in Java

    Norm, this is the error i get when i run the code above.
    I dont know how to use the getClass() method in my code, as it shows me there are incompartible types.
    Thanks for the reply, i appreciate
    ...
  4. Re: HELP: I have problem casting from Vector to Integer in Java

    Norm, Thanks a lot for a reply
    I separated the elements as you advised, but i still get the same result: Here is the new code after i modified



    public String printUsers(){

    Query q =...
  5. HELP: I have problem casting from Vector to Integer in Java

    Hello!
    I have a function which queries all users from the database and prints their details, this function calls the line


    Integer usrId=(Integer)((Vector)results.get(i)).get(0);

    which...
Results 1 to 5 of 5