Search:

Type: Posts; User: Norm

Page 1 of 4 1 2 3 4

Search: Search took 0.12 seconds.

  1. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    If you'd work on smaller projects like what I suggested in post#161 maybe then ....
  2. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    That statement shows how little you know about coding java.

    There is no way you can hope to finish this project with your current java knowledge. I'm not sure that you are currently capable of...
  3. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    This is getting to be a big waste of time. I'm getting tired of repeating myself. If you'll look back through the posts on this thread, this topic has been covered several times.
  4. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    I said: The String to accept is passed in the constructor
    There is nothing there about moving TWO Strings.
  5. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    When did I say that?
  6. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    Did you fix the error shown in posts#172 and 178?

    Those two Strings: string1 and string2 are supposed to be deleted, not moved around.
  7. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    Is that the same error as in post#172
    What did you do to fix that error? If you don't fix the errors they don't go away and you are wasting time trying to continue if you don't fix the errors.
  8. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    Yes. The String to accept is passed in the constructor, not hard coded in the method.
  9. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    The DropTargetTextArea constructor takes a String but there wasn't a String provided.
    Add a String as an arg in the new statement.
  10. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    The constructor takes a String but there wasn't a String provided.
  11. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    Sorry, I don't know anything about databases. Forget about using databases. Use image files in a folder.

    What happened to the test program that was to have two different DraggableLabel objects...
  12. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    Did that compile and execute and do what you wanted?
    If not post the errors or explain what happened and what you want to be different.
  13. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    ??? What are you waiting for? There is an example that you coded in the program. Copy the technique shown there.
  14. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    See the constructor for the DraggableLabel class. It has a String as arg
  15. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    You said: im lost
    I think you need to work on simpler projects to learn the techniques needed for this larger program.
    The current program you are/were working on was a test program to get the...
  16. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    Ok, put the current program aside and work on a new very small test program that uses the technique you need:
    Write a test program that
    has a constructor that takes a String as arg
    the...
  17. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    I have told you what needs to be done. Re-read the posts on the thread.

    This is the problem you need to solve:
    If there are 30 images as drop targets, each with a different String to be shown...
  18. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    Those changes do not make any sense.

    Go back to the last version of the code that compiled and executed and start again.
  19. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    public class DropTarget(int testing, int test){
    What are supposed to be in the two int values passed to the constructor: testing and test?

    What happened to the definition for:
    public static...
  20. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    See post#133 for an example of a constructor that takes a String as argument.

    That is VERY BASIC java programming. If you can not code a constructor now after so much coding, you need to go back...
  21. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    This is post#114

    What is your question about post #114?
  22. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    See post#133 for an example of a constructor that takes a String as argument.


    This is post#114

    What is your question about post #114?
  23. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    Does it compile and execute without errors now?
    Does it work like you want?
  24. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    That is invalid code. There should not be any "s
  25. Replies
    191
    Views
    7,970

    Re: drag and drop word to match image

    Yes, that is how I would do it.
Results 1 to 25 of 93
Page 1 of 4 1 2 3 4