Search:

Type: Posts; User: dragolis

Search: Search took 0.11 seconds.

  1. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    I fixed it with a timer on repaint



    int delay = 1000;
    ActionListener taskPerformer = new ActionListener() {
    public void actionPerformed(ActionEvent evt) {
    ...
  2. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    when i move the mouse over it, this happens:
    122812291230

    in the first picture i've only touched the upper left jbutton, and then in the other pictures i've moved the mouse a bit in and out of...
  3. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    i wrote that above the java code
  4. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    i remade the previus post.
  5. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    if you run this and just moves the mouse over the 4 jbuttons you'll see that they get "selected" and keep getting darker and darker the more times you drag the mouse over them



    import...
  6. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    My program is about finished now, one things i bugging me though, i have added some JButton's to make varius options, and the JButtons work. The things is that they react to mouseovers which leaves...
  7. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    i got .getName to work. thx.
  8. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    I got the DnD working, but now i need a way to get a filename from a string. I'm assuming i need to use String.split, but since the file paths are written with "\" (C:\dir\dir\dir\file.exe) i need to...
  9. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    I have been looking at that guide before, but i guess i'll take another look, i'm just unsure how to implement the methods with a premade jpanel, as they are write protected, and as such i'd think i...
  10. Replies
    23
    Views
    2,795

    Re: Desktop shortcut drag and drop

    the end goal is to have a desktop application, somewhat like rainmeter or stardock, where you have a panel you can drop shortcuts into, and then i'll add some features to it along the way.

    #2
    no...
  11. Replies
    23
    Views
    2,795

    Desktop shortcut drag and drop

    As part of a project, i want to make a panel where i can drag shortcuts from the desktop onto the panel and have them retain their functionality in the panel (they can still be clicked to open their...
Results 1 to 11 of 12