Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.08 seconds.

  1. Replies
    23
    Views
    2,815

    Re: Desktop shortcut drag and drop

    I think I see what you mean, and I believe it has to do with specifying an alpha value for the background color of the JButton. Every time you mouse over it, the alpha value gets a little darker....
  2. Replies
    23
    Views
    2,815

    Re: Desktop shortcut drag and drop

    Can you provide an SSCCE that demonstrates this problem? JButtons don't do that for me by default.
  3. Replies
    23
    Views
    2,815

    Re: Desktop shortcut drag and drop

    I recommend you check out the API and the basic tutorials, which incidentally are the first and second respective results for googling "java file".
  4. Replies
    23
    Views
    2,815

    Re: Desktop shortcut drag and drop

    Or you could just create a new File instance and use the getName() function. Probably better as it's more platform independent than using a hard-coded character that might change for different...
  5. Replies
    23
    Views
    2,815

    Re: Desktop shortcut drag and drop

    Escape the escape character.

    System.out.println("\\");
  6. Replies
    23
    Views
    2,815

    Re: Desktop shortcut drag and drop

    What's your end goal with this?
Results 1 to 6 of 6