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 6 of 6

Thread: Gradual appearance of Rectangle...

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Gradual appearance of Rectangle...

    Hi all,
    My requirement is to create a rectangle that should be created gradually when the page loads.. that is it should start at a point,
    then the line should grow on the right side, after some time down then left and top creates a rectangle.
    Is there any way to do this? waiting for your reply.

    Thanks in advance..


  2. #2
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Gradual appearance of Rectangle...

    Quote Originally Posted by rdheepan View Post
    Hi all,
    My requirement is to create a rectangle that should be created gradually when the page loads.. that is it should start at a point,
    then the line should grow on the right side, after some time down then left and top creates a rectangle.
    Is there any way to do this? waiting for your reply.

    Thanks in advance..
    Just one thing for you.
    READ THE FORUMS RULES.

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,372
    Thanks
    183
    Thanked 836 Times in 779 Posts
    Blog Entries
    5

    Default Re: Gradual appearance of Rectangle...

    Is there any way to do this? waiting for your reply
    Yes there is...what have you tried? How would you do this by hand? And in what context do you need to draw the rectangle (command line, swing, ...I presume because this is in web frameworks forum that this is the context)? These questions suggest you have not provided enough information - and further we have no clue what you know so which gives us even less to go by to give advice. I recommend reading the 'getting help' link in my signature, and the following:
    http://www.javaprogrammingforums.com...e-posting.html

    Quote Originally Posted by Mr.777 View Post
    Just one thing for you.
    READ THE FORUMS RULES.
    Did the original poster break any rules or do anything that necessitates the 'yelling'?
    Last edited by copeg; January 11th, 2012 at 09:53 AM.

  4. #4
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Gradual appearance of Rectangle...

    Did the original poster break any rules or do anything that necessitates the 'yelling'?
    Don't you think that posting the problem related to Java theory or concepts in the Section Web Frameworks is one of the violation?

  5. #5
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,372
    Thanks
    183
    Thanked 836 Times in 779 Posts
    Blog Entries
    5

    Default Re: Gradual appearance of Rectangle...

    Quote Originally Posted by Mr.777 View Post
    Don't you think that posting the problem related to Java theory or concepts in the Section Web Frameworks is one of the violation?
    While it is up to the OP to provide more details to convince either way, if this is the audience the original poster wanted then I recommend we give them the benefit of the doubt.

  6. #6
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Gradual appearance of Rectangle...

    Quote Originally Posted by copeg View Post
    While it is up to the OP to provide more details to convince either way, if this is the audience the original poster wanted then I recommend we give them the benefit of the doubt.
    Okay fine... But that day, i almost posted five to ten times to obey the rules as there was too much rules violations.

Similar Threads

  1. Unable to draw a rectangle
    By n00b in forum AWT / Java Swing
    Replies: 3
    Last Post: November 1st, 2011, 08:32 AM
  2. Rectangle questions
    By stacksofamber in forum Java Theory & Questions
    Replies: 3
    Last Post: September 5th, 2011, 01:43 PM
  3. Dragging and Dropping Rectangle - GUI
    By cjct927 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: June 8th, 2011, 10:59 AM
  4. grow a rectangle in java
    By Khoatic in forum Java Theory & Questions
    Replies: 2
    Last Post: September 8th, 2010, 07:13 PM
  5. Dropping to graphic element dragged from JList
    By tua1 in forum AWT / Java Swing
    Replies: 1
    Last Post: November 29th, 2008, 08:22 AM