Braun, James F wrote:

I didn't mean for this to become debate.

Yeah, good luck with that.

*lol*

As you've discovered, some people are more interested in being uppity than actually helping with the core question :/

         byte[] bytes = new byte[1024*1024]; // some maximum size
         int byteSize = pictureStream.read(bytes); // read in the bytes
         byte[] bytesX = new byte[byteSize]; // create a new array of
the proper size
         for(int i=0;i<byteSize;i++) { // copy them into the new array
           bytesX[i] = bytes[i];
         }
         pictureBytes = bytesX; // assign it to the form variable
       }
People like me ;)

Oh god remove the comments. Bottom line: if someone can't figure out what's going on here w/o relying on the comments then they're fired.

Java is already like crack for people that like to type; why make it worse with redundant commentary?

Just a pet peeve of mine ;)

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to