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

    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
    Eastern Florida
    Rep Power

    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, 08:44 PM
  2. how to draw oval using Graphics object
    By usha in forum AWT / Swing
    Replies: 4
    Last Post: 11-30-2010, 12: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, 05:04 AM
  4. Backbuffer
    By AndrewM16921 in forum AWT / Swing
    Replies: 3
    Last Post: 04-13-2009, 01: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