Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25
  1. #21
    rosh72851 is offline Member
    Join Date
    Sep 2008
    Posts
    58
    Rep Power
    0

    Default

    My problem is switching between images.
    I display my first image. How can I apply changes to the image and display new image.

    THis is my real problem. I am sure this has something to do with copying buffered images back and forth.

    Thanks ver much for your help. I had posted this question for 2 days on the forums. No one replied but you.
    Thanks again.

  2. #22
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by rosh72851 View Post
    did not understand. if I comment
    Java Code:
    g2.drawImage(bufImag, 0,0,null);
    I get the same result as with that code.
    No, just put a breakpoint on the above line and debug.

  3. #23
    rosh72851 is offline Member
    Join Date
    Sep 2008
    Posts
    58
    Rep Power
    0

    Default

    My problem is switching between images.
    I display my first image. How can I apply changes to the image and display new image.

    THis is my real problem. I am sure this has something to do with copying buffered images back and forth.

    Thanks ver much for your help. I had posted this question for 2 days on the forums. No one replied but you.
    Thanks again.

  4. #24
    rosh72851 is offline Member
    Join Date
    Sep 2008
    Posts
    58
    Rep Power
    0

    Default

    I understand now. You cant have more than 1 drawimage. drawimage works only once. that was the problem. took me a while to figure this out.

  5. #25
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 0
    Last Post: 08-13-2008, 10:46 PM
  2. Unable to draw buffered image
    By pedjasmek in forum Java 2D
    Replies: 7
    Last Post: 08-08-2008, 03:49 PM
  3. FileReader / Buffered Reader
    By sepaht in forum New To Java
    Replies: 9
    Last Post: 07-10-2008, 08:05 PM
  4. How to update Existing Word Doc Using java
    By umashankar in forum Advanced Java
    Replies: 1
    Last Post: 07-27-2007, 01:29 PM

Posting Permissions

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