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

Thread: falling objects

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Location
    kathmandu, nepal
    Posts
    29
    My Mood
    Cheerful
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default falling objects

    I am using gridLayout for placing the objects of the game. Can anyone tell me how to make the objects fall down if there is an empty space(another image object) down the object???


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,214
    Thanks
    52
    Thanked 2,294 Times in 2,265 Posts

    Default Re: falling objects

    Are you asking how to change the position of a component displayed in a container that uses a layout manager?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. testing is player is jumping or not jumping. falling or not falling.
    By hwoarang69 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 11th, 2012, 05:07 PM
  2. Need help on objects
    By alex067 in forum Java Theory & Questions
    Replies: 4
    Last Post: September 10th, 2012, 06:23 PM
  3. [Question] Objects instantiated within objects.
    By Xerosigma in forum Object Oriented Programming
    Replies: 6
    Last Post: April 25th, 2012, 10:53 AM
  4. Heads up! Satellite falling...
    By Sean4u in forum Totally Off Topic
    Replies: 18
    Last Post: September 23rd, 2011, 03:19 AM
  5. New to Objects...
    By Java Neil in forum What's Wrong With My Code?
    Replies: 17
    Last Post: March 24th, 2011, 07:00 AM