www.webdeveloper.com
Results 1 to 3 of 3

Thread: Cannot Cast from writable raster to databufferint!

  1. #1
    Join Date
    Jul 2012
    Posts
    3

    Cannot Cast from writable raster to databufferint!

    Hi evereybody im following a tutorial on youtube about making a 3d game
    but im having some trouble.
    as far as i know i did evereything the same but theres a problem in this line of code
    Code:
    pixels = ((DataBufferInt)img.getRaster()).getData();
    i did import the databuffer int correctly i think
    Code:
    import java.awt.image.DataBufferInt;
    please help me.
    thanks already!

  2. #2
    Join Date
    Jan 2011
    Location
    United Kingdom, London
    Posts
    117
    I suppose you should change forum, this part is for JavaScript not Java

    best
    Javascript, jQuery / Prototype & PHP expert ready to complete your work on Freelancer.co.uk - Hire Me at https://www.freelancer.co.uk/users/1...&action=hireme

  3. #3
    Join Date
    Jul 2012
    Posts
    3
    oh lol sorry!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles