Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Java Frame Buffer Line drawing

  1. #1
    Junior Member
    Join Date
    May 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Java Frame Buffer Line drawing

    Hi all,
    Can anyone gives an example of java frame buffer ?
    Last edited by tcmei; May 18th, 2011 at 01:43 AM.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Java Frame Buffer Line drawing

    What is the output that the program generates?
    What's wrong with it?

    You need to draw a grid on paper and look at it line by line to see what must be output for each line.
    Last edited by Norm; May 16th, 2011 at 09:23 PM.

  3. #3
    Junior Member
    Join Date
    May 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Java Frame Buffer Line drawing

    THank you for your reply.
    Last edited by tcmei; May 18th, 2011 at 01:43 AM.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Java Frame Buffer Line drawing

    It looks like your code needs a lot of work. The desired output doesn't have any *s in it.

    What kind of help are you looking for? I suggested an approach in my last post. Have you looked at that and tried it yet?

    Cross posted at:
    http://forums.devshed.com/java-help-...ml#post2642119
    Last edited by Norm; May 17th, 2011 at 06:57 AM.

Similar Threads

  1. IE browser in Java swing/AWT Frame
    By gafaec in forum AWT / Java Swing
    Replies: 0
    Last Post: April 10th, 2011, 05:16 AM
  2. IE browser in Java swing/AWT Frame
    By gafaec in forum Java Native Interface
    Replies: 0
    Last Post: April 9th, 2011, 05:16 AM
  3. Line Drawing Program
    By The_Mexican in forum What's Wrong With My Code?
    Replies: 5
    Last Post: November 13th, 2010, 03:54 PM
  4. Drawing image on JPanel from another frame
    By jeryslo in forum AWT / Java Swing
    Replies: 3
    Last Post: December 8th, 2009, 04:01 PM
  5. How to Read a file line by line using BufferedReader?
    By JavaPF in forum File Input/Output Tutorials
    Replies: 0
    Last Post: May 19th, 2008, 06:32 AM