Results 1 to 4 of 4

Thread: move line

  1. #1
    ekstends is offline Member
    Join Date
    Jun 2012
    Posts
    2
    Rep Power
    0

    Default move line

    Hello everyone,
    I am very new to java programming and I have a big problem now.
    I have to make a program for my class and I'm very short with time.
    It's a simple program but not for me.
    PROGRAM:

    application where customer gets a window and clicks on 2 spots and a line appears(between those spots).then he clicks on button "move the line"and gets a window where he chooses new destination for line (new coordinates ).and then the line moves where he wanted it to...
    It's GUI application,and I'm willing to learn to make such a thing,but now I need this one for my class,so I need it made.

    Thank you in advance
    Hope someone will have time to help me,and hope I'll be able to help you back soon

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,589
    Rep Power
    23

    Default Re: move line

    Please post your current code and your questions about the problems you are having.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    ekstends is offline Member
    Join Date
    Jun 2012
    Posts
    2
    Rep Power
    0

    Default Re: move line

    That's the problem
    I don't know how to start.
    I can't create it in my head-How it should be done...
    If you could help me build it,or give me some directions...

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,589
    Rep Power
    23

    Default Re: move line

    Start by making a list of the steps the program needs to do to solve the problem.
    Then work through those steps one by one.
    Write the code for each step, compile and test it.
    When it works, move to the next step.

    If you have problems or questions post them here.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Replies: 16
    Last Post: 09-17-2011, 02:41 AM
  2. Replies: 1
    Last Post: 02-13-2011, 03:09 PM
  3. How to move the points on a predrawn line?
    By pizzadude223 in forum Java Applets
    Replies: 1
    Last Post: 07-20-2010, 12:56 PM
  4. Replies: 2
    Last Post: 07-02-2010, 02:20 PM
  5. Replies: 4
    Last Post: 09-10-2009, 10:18 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
  •