Results 1 to 2 of 2
  1. #1
    J_Newb is offline Member
    Join Date
    Sep 2011
    Posts
    1
    Rep Power
    0

    Question BackBuffer & Graphics Object Issue...

    I was looking at a source-code in order to learn how to use BackBuffers...and... I've found that :
    Java Code:
    ///applet body
    
          Image backbuffer;
          Graphics backg;
    
    /// init() 
    
          backbuffer = createImage( width, height );
          backg = backbuffer.getGraphics();
    How's "backg" influenced by the assignment?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,899
    Rep Power
    25

    Default Re: BackBuffer & Graphics Object Issue...

    How's "backg" influenced by the assignment?
    It's value is changed from no value to a graphics context object for the Image object

Similar Threads

  1. Graphics issue, pic won't show up.
    By AndroidAppNewbie in forum New To Java
    Replies: 1
    Last Post: 03-02-2011, 09:44 PM
  2. how to draw oval using Graphics object
    By usha in forum AWT / Swing
    Replies: 4
    Last Post: 11-30-2010, 01:15 PM
  3. do I need to dispose of my Graphics object?
    By gib65 in forum AWT / Swing
    Replies: 3
    Last Post: 07-06-2010, 06:04 AM
  4. Backbuffer
    By AndrewM16921 in forum AWT / Swing
    Replies: 3
    Last Post: 04-13-2009, 02:47 AM

Posting Permissions

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