Search:

Type: Posts; User: Norm

Search: Search took 0.16 seconds.

  1. Replies
    23
    Views
    2,823

    Re: Desktop shortcut drag and drop

    The color is almost black now. I don't see any permanent color changes when I move the mouse over the buttons.
  2. Replies
    23
    Views
    2,823

    Re: Desktop shortcut drag and drop

    How do you test with this code to see the problem?
  3. Replies
    23
    Views
    2,823

    Re: Desktop shortcut drag and drop

    Please Edit your post and wrap your code with
    <YOUR CODE HERE> to get highlighting

    How do you test with this code to see the problem?
  4. Replies
    23
    Views
    2,823

    Re: Desktop shortcut drag and drop

    You need to escape (tell the compiler to ignore) the \ which is the escape character: "\\"
  5. Replies
    23
    Views
    2,823

    Re: Desktop shortcut drag and drop

    I'd suggest you take one of the example programs from the tutorial and play with it to see how DnD works.
  6. Replies
    23
    Views
    2,823

    Re: Desktop shortcut drag and drop

    Have you looked at the tutorials? There are some simple examples there you could experiment with.
    Lesson: Drag and Drop and Data Transfer (The Java™ Tutorials > Creating a GUI With JFC/Swing)
  7. Replies
    23
    Views
    2,823

    Re: Desktop shortcut drag and drop

    I wonder what the java program would receive when a file is dragged from the desktop into the program.
    If the java program got the path to the file, it could read the contents of the file and...
Results 1 to 7 of 7