topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday December 23, 2025, 10:03 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: [1]
1
Developer's Corner / Re: A java question, please help if you have the time
« Last post by zacorbul on September 11, 2007, 07:33 PM »
Thank you very much for answering all and especially OGroeger, it was spot on, it worked like a charm(actually better)  :Thmbsup:

Now I can finally finish my method. ;D
Thank you guys, I owe you a pint of lager :)

Cheers
2
Developer's Corner / A java question, please help if you have the time
« Last post by zacorbul on September 11, 2007, 08:11 AM »
Hello,
I have an int[] and I would like to wrapp it in an Integer[].
I know that
Integer convertInt = int aNumber;   
But I am not sure how I would go about it for an array.
I tried using a for loop such as:
for(int i=0; i<aNumber.length; i++)
 convertInt = aNumber

but is no use as I get an error (array dimension missing)while declaring
Integer[] convertInt = new Integer[];

If anybody could help me get back on track it would be great.
 Thank you
Pages: [1]