JList Double-Click and Enter

hi,
is there a way to recognize a double click and Enter on JList item?
thx in advance
Edited by: google_crawler on Aug 1, 2008 7:19 AM

Well, i got this:
MouseAdapter ml = new MouseAdapter()
               @Override
               public void mouseClicked(MouseEvent me)
                    Object zrodlo = me.getSource();
                    if (zrodlo == jlLista) //my JList
                         if (me.getClickCount() == 2)
                              //do somethg here
                    super.mouseClicked(me);
          };edit: i don't know how it's gonna work on other OS but on Windows it's good.
Edited by: google_crawler on Aug 8, 2008 12:50 PM

Similar Messages

  • My ipod will only let me enter apps by double clicking and there is now a vioce telling me what app i am on which wasnt there before how do i get it back to normal, please help?????

    my ipod touch will only let me enter apps by double clicking and there is now a voice which wasnt there before how do i get it back to normal does anybody know, please help ??????

    Head to Settings -> General -> Accessibility and turn off VoiceOver.
    See this article for more assistance.
    http://support.apple.com/kb/ht3577
    B-rock

  • Adobe Reader does not open any PDF when double clicked/hit enter once.

    Adobe Reader 11 does not open when I double click/hit enter on a PDF document. I need to hit enter multiple times to open a document once. This ends up creating multiple AcroRd32.exe.
    It's very annoying that I need to hit enter multiple times even to open a single PDF file.
    This is how my task manager looks, even after closing any opened PDF file.
    I've tried re-installing adobe reader multiple times, but same issue recurs again and again.
    Please help.
    Thanks,
    Rahul

    It worked. I don't see why the Protected Mode is enabled in the first place, if it were to cause issues.
    Anyways, thanks Sabian,

  • I cannot open my Safari. I double click and still loading forever an ever. I cannot get to any preferences at the configurations bar. Any help please?What should a i do to fixe that?

    I cannot open my Safari. I double click and still loading forever an ever. I cannot get to any preferences at the configurations bar. Any help please?What should a i do to fixe that?

    I saw on another post you have asked about this dates LINC DAVIS:
    Date/Time:       2014-07-01 19:03:59 -0300
    OS Version:      10.7.5 (Build 11G63)
    Architecture:    x86_64
    Report Version:  9
    Command:         Safari
    Path:            /Applications/Safari.app/Contents/MacOS/Safari
    Version:         6.1.5 (7537.77.4)
    Build Version:   1
    Project Name:    WebBrowser
    Source Version:  7537077004000000
    Parent:          launchd [203]
    PID:             624
    Event:           hang
    Duration:        1.46s
    Steps:           15 (100ms sampling interval)
    Pageins:         7
    Pageouts:        0
    Process:         Safari [624]
    Path:            /Applications/Safari.app/Contents/MacOS/Safari
    Architecture:    x86_64
    UID:             501
      Thread 0x1597a      DispatchQueue 1
      User stack:
        15 ??? (in Safari) [0x10557ff2c]
          15 SafariMain + 266 (in Safari) [0x10577947c]
            15 NSApplicationMain + 867 (in AppKit) [0x7fff8b559eac]
              15 -[NSApplication run] + 470 (in AppKit) [0x7fff8b2dd9b9]
                15 -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 161 (in Safari) [0x1055e44d5]
                  15 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135 (in AppKit) [0x7fff8b2e107d]
                    15 _DPSNextEvent + 1247 (in AppKit) [0x7fff8b2e19c5]
                      15 AEProcessAppleEvent + 102 (in HIToolbox) [0x7fff82c85b69]
                        15 aeProcessAppleEvent + 250 (in AE) [0x7fff832b89f7]
                          15 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 38 (in AE) [0x7fff832b8b03]
                            15 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 200 (in AE) [0x7fff832b8c25]
                              15 _NSAppleEventManagerGenericHandler + 105 (in Foundation) [0x7fff896ed5dc]
                                15 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 283 (in Foundation) [0x7fff896ed74e]
                                  15 __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 101 (in Foundation) [0x7fff896ee7c7]
                                    15 -[NSObject performSelector:withObject:withObject:] + 65 (in CoreFoundation) [0x7fff81947541]
                                      15 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 330 (in AppKit) [0x7fff8b2e45b9]
                                        15 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 227 (in AppKit) [0x7fff8b2e4849]
                                          15 -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completion Handler:] + 193 (in AppKit) [0x7fff8b2e49f9]
                                            15 _NSPersistentUIFinishAcquiringTalagentWindows + 93 (in AppKit) [0x7fff8b3108cb]
                                              15 copyTalagentWindowsAcquisitionBlock + 79 (in AppKit) [0x7fff8b310947]
                                                15 +[NSBundle mainBundle] + 55 (in Foundation) [0x7fff896e1bb9]
                                                  15 -[NSRecursiveLock lock] + 25 (in Foundation) [0x7fff896badf9]
                                                    15 __psynch_mutexwait + 10 (in libsystem_kernel.dylib) [0x7fff87733bf2]
      Kernel stack:
        15 psynch_mtxcontinue + 0 (in mach_kernel) [0xffffff800059eb20]
      Thread 0x1599d      DispatchQueue 2
      User stack:
        15 _dispatch_mgr_thread + 54 (in libdispatch.dylib) [0x7fff8ae7e316]
          15 kevent + 10 (in libsystem_kernel.dylib) [0x7fff877347e6]
      Kernel stack:
        15 kqueue_scan + 416 (in mach_kernel) [0xffffff800053b4d0]
      Thread 0x159a4   
      User stack:
        15 thread_start + 13 (in libsystem_c.dylib) [0x7fff8d3eeb75]
          15 _pthread_start + 335 (in libsystem_c.dylib) [0x7fff8d3eb8bf]
            15 _ZN3WTFL19wtfThreadEntryPointEPv + 15 (in JavaScriptCore) [0x105e2da3f]
              15 WebCore::IconDatabase::iconDatabaseSyncThread() + 303 (in WebCore) [0x106958faf]
                15 WebCore::IconDatabase::syncThreadMainLoop() + 491 (in WebCore) [0x10695c39b]
                  15 __psynch_cvwait + 10 (in libsystem_kernel.dylib) [0x7fff87733bca]
      Kernel stack:
        15 psynch_cvcontinue + 0 (in mach_kernel) [0xffffff800059e920]
      Thread 0x159a9   
      User stack:
        15 thread_start + 13 (in libsystem_c.dylib) [0x7fff8d3eeb75]
          15 _pthread_start + 335 (in libsystem_c.dylib) [0x7fff8d3eb8bf]
            15 thread_fun + 24 (in QuartzCore) [0x7fff81e65d35]
              15 CA::Render::Server::server_thread(void*) + 184 (in QuartzCore) [0x7fff81e65df5]
                15 mach_msg_trap + 10 (in libsystem_kernel.dylib) [0x7fff8773267a]
      Kernel stack:
        15 ipc_mqueue_receive_continue + 0 (in mach_kernel) [0xffffff8000215930]
      Thread 0x159b2   
      User stack:
        15 thread_start + 13 (in libsystem_c.dylib) [0x7fff8d3eeb75]
          15 _pthread_start + 335 (in libsystem_c.dylib) [0x7fff8d3eb8bf]
            15 __NSThread__main__ + 1575 (in Foundation) [0x7fff8970f6a2]
              15 -[NSThread main] + 68 (in Foundation) [0x7fff8970f72a]
                15 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335 (in Foundation) [0x7fff8971afd7]
                  15 CFRunLoopRunSpecific + 230 (in CoreFoundation) [0x7fff818e9486]
                    15 __CFRunLoopRun + 1204 (in CoreFoundation) [0x7fff818e9c74]
                      15 __CFRunLoopServiceMachPort + 188 (in CoreFoundation) [0x7fff818e150c]
                        15 mach_msg_trap + 10 (in libsystem_kernel.dylib) [0x7fff8773267a]
      Kernel stack:
        15 ipc_mqueue_receive_continue + 0 (in mach_kernel) [0xffffff8000215930]
      Thread 0x159b7   
      User stack:
        15 thread_start + 13 (in libsystem_c.dylib) [0x7fff8d3eeb75]
          15 ??? (in Safari) [0xdeadbeef]
            15 dlopen + 540 (in dyld) [0x7fff65188657]
              15 dyld::runInitializers(ImageLoader*) + 97 (in dyld) [0x7fff651821b9]
                15 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 59 (in dyld) [0x7fff6518d0b7]
                  15 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 237 (in dyld) [0x7fff6518c2cd]
                    15 _ZN4dyldL12notifySingleE17dyld_image_statesPK11ImageLoader + 226 (in dyld) [0x7fff65180973]
                      15 load_images + 233 (in libobjc.A.dylib) [0x7fff8897636b]
                        15 call_load_methods + 161 (in libobjc.A.dylib) [0x7fff889766ca]
                          15 +[VSearchLib load] + 92 (in libVSearchLoader.dylib) [0x109b72bf4]
                            15 -[NSBundle principalClass] + 41 (in Foundation) [0x7fff8970ed84]
                              15 -[NSBundle load] + 18 (in Foundation) [0x7fff897173f8]
                                15 objc_msgSend_vtable3 + 24 (in libobjc.A.dylib) [0x7fff889780d8]
      Kernel stack:
        15 hndl_alltraps + 225 (in mach_kernel) [0xffffff80002da481]
          15 user_trap + 711 (in mach_kernel) [0xffffff80002c4017]
            15 exception_triage + 149 (in mach_kernel) [0xffffff8000220e15]
              15 exception_deliver + 766 (in mach_kernel) [0xffffff8000220c1e]
                15 exception_raise_state_identity + 325 (in mach_kernel) [0xffffff8000249c75]
                  15 mach_msg_rpc_from_kernel_body + 277 (in mach_kernel) [0xffffff80002239d5]
                    15 ipc_mqueue_receive + 70 (in mach_kernel) [0xffffff8000215886]
                      15 thread_block_reason + 299 (in mach_kernel) [0xffffff800022f42b]
                        15 thread_continue + 1661 (in mach_kernel) [0xffffff800022f1ad]
                          15 machine_switch_context + 361 (in mach_kernel) [0xffffff80002c2939]
      Binary Images:
             0x10557f000 -        0x10557ffff  com.apple.Safari 6.1.5 (7537.77.4) <1144E535-39EB-3DD2-8326-F931E2CEDFC5> /Applications/Safari.app/Contents/MacOS/Safari
             0x105589000 -        0x105ac2fff  com.apple.Safari.framework 7537 (7537.77.4) <079F7B57-311E-3A81-B3ED-B7AC3F78E262> /System/Library/StagedFrameworks/Safari/Safari.framework/Safari
             0x105e24000 -        0x1061cbff7  com.apple.JavaScriptCore 7537 (7537.77.1) <C0C6D15C-8C26-3FD8-BE2E-7A1C20B46359> /System/Library/StagedFrameworks/Safari/JavaScriptCore.framework/JavaScriptCore
             0x106953000 -        0x107a00ff7  com.apple.WebCore 7537 (7537.77.4) <E0176EFF-835E-3B32-909D-E3A426947476> /System/Library/StagedFrameworks/Safari/WebCore.framework/WebCore
             0x109b72000 -        0x109b73fff  libVSearchLoader.dylib ??? (???) <2DF78468-AB4B-363E-A838-D4CE14679E8B> /System/Library/Frameworks/VSearch.framework/Versions/A/Libraries/libVSearchLoa der.dylib
          0x7fff6517f000 -     0x7fff651b3baf  dyld ??? (???) <C58DAD8A-4B00-3676-8637-93D6FDE73147> /usr/lib/dyld
          0x7fff818b1000 -     0x7fff81a85ff7  com.apple.CoreFoundation 6.7.2 (635.21) <62A3402E-A4E7-391F-AD20-1EF20236CE1B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
          0x7fff81e63000 -     0x7fff82003ff7  com.apple.QuartzCore 1.7 (270.5) <19E5E0AB-DAA9-3F97-988C-D9A46AFB9C04> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
          0x7fff82c75000 -     0x7fff82fa1fff  com.apple.HIToolbox 1.9 (???) <CCB32DEA-D0CA-35D1-8019-E599C8007AB6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
          0x7fff832b5000 -     0x7fff832f4fff  com.apple.AE 527.7 (527.7) <B82F7ABC-AC8B-3507-B029-969DD5CA813D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
          0x7fff8771d000 -     0x7fff8773dfff  libsystem_kernel.dylib ??? (???) <66C9F9BD-C7B3-30D4-B1A0-03C8A6392351> /usr/lib/system/libsystem_kernel.dylib
          0x7fff8896d000 -     0x7fff88a51e5f  libobjc.A.dylib ??? (???) <871E688B-CF57-3BC7-80D6-F6476DFF109B> /usr/lib/libobjc.A.dylib
          0x7fff896b5000 -     0x7fff899cefff  com.apple.Foundation 6.7.2 (833.25) <22AAC369-B63C-3C55-8AC6-C3ECBA44DA7B> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
          0x7fff8ae7c000 -     0x7fff8ae8afff  libdispatch.dylib ??? (???) <8E03C652-922A-3399-93DE-9EA0CBFA0039> /usr/lib/system/libdispatch.dylib
          0x7fff8b2d9000 -     0x7fff8bedffff  com.apple.AppKit 6.7.5 (1138.51) <44417D02-6123-3FC3-A119-CE51BB4C3006> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
          0x7fff8d39d000 -     0x7fff8d47afef  libsystem_c.dylib ??? (???) <41B43515-2806-3FBC-ACF1-A16F35B7E290> /usr/lib/system/libsystem_c.dylib

  • "I just updated the software on my iphone 4 and prior to updating I could double click and start the camera without logging in, now I can't.  How do I fix?

    I just updated the software on my iphone 4 and prior to updating I could double click and start the camera without logging in, now I can't.  How do I fix?

    Nothing to fix...things have changed...slide the camera icon up now..no more double tap.

  • Double-click and trackpad

    right now, i enable double-click to drag any window in OSX
    so if i double-click on the window title, it should allow me to drag the window, but instead it miminize it, so what is the correct way of double-click and drag?
    btw, is there way i can simulate middle-click using trackpad?

    well
    of course i did check that before making this post
    but i just can't get the dragging to work with double-tap
    plus there is no middle-click simulation
    is there any hack to simulate middle-click on trackpad?

  • Magic Mouse single click double clicks and drops dragged images

    Last few weeks my Magic Mouse has started behaving strangely. When selecting something with a single click the mouse seems to double click and open the item instead of just selecting it. Very frustrating. When dragging anything across the screen it always drops the item halfway there.
    What is going on? Software? Hardware? I have no 3rd party software installed and have tried various double click speeds with the same result.
    Anyone have any ideas? Thanks.

    A lot of people have encountered this, Tom, myself included (see discussion here for instance: http://discussions.apple.com/thread.jspa?messageID=11547453&#11547453).
    It appears to be a bug in the OS. Annoying, but until Apple fix the problem, it's something we're unfortunately going to have to live with. Sorry I can't help you further.

  • Before I upgraded to 8.0 I could double click and see all open Apps and then close them. Now when I double click I am not sure what I am seeing or what to do?

    Before I upgraded to 8.0 I could double click and see all open Apps and then close them. Now when I double click I am not sure what I am seeing or what to do?

    The format keeps changing but the basics remain...in the center of the screen are large images of the recent apps which you can close by swiping up and away.

  • HT201365 I just updated to ios 7 on my iPhone 4 how do you turn the apps off when your not using them? The old way of double clicking and then pressing the app until a red minus button comes doesn't work it opens it back up!?

    I just updated to ios 7 on my iPhone 4 how do you turn the apps off when your not using them? The old way of double clicking and then pressing the app until a red minus button comes doesn't work it opens it back up!?

    Double click home button, then swipe up on app picture (not the icon itself)

  • HT1222 My mouse pointer in finder is not working by double clicking on the application.I have to double click and select open for opening the application.Can you suggest me some settings to fix this problem?

    My mouse pointer in finder is not working by double clicking on the application.I have to double click and select open for opening the application.Can you suggest me some settings to fix this problem?

    Hi,
    Try this ... reboot your Mac and see if double clicking works again.
    Also, you can just select the Application you like to open and hold down the Command+O to open.
    Also, did you check your setting for the mouse in system preferences.
    Dimaxum

  • Does anyone know if there is a way to arrange songs on a playlist that has 100 songs? I used to be alble to double click and open a new page but that is no longer an option. Because you cant get a total view of the playlist it is almost impossible

    I used to be alble to double click and open a new page but that is no longer an option. Because you cant get a total view of the playlist it is almost impossible.. if a song is in position 95 and I want to put it at 3 I have to hold it and drag it till the curor moves.. This makes creating an order almnost impossible because you cn only see half of the songs

    1.SmartyPanouZe3rd,
    Sep 4, 2013 1:03 PM   in reply to SmartyPanouZe3rd
    This is a follow-up to the above question I had.
    Since i noticed people looking at the question, but no replies showing up, i contacted BC support directly with the same question.
    I got a reply.
    I did tests based on the reply.
    Here is what is going on based on the reply.
    (spoiler alert : It works... but it's not yet a perfect score.)
    All the details are posted here :
    http://www.animavdo.com/mut/ambiguity-001.html
    Hope this can help others.
    Cheers.
    PS  I still will use DW for the heavy lifting...
           But MUSE is nice for quickly putting together a mini website.
           Highly recommended App.

  • I have just upgraded to ios7 but cant seem to close any apps to save battery, on the old system it was just a double click and deleting the icons along the bottom of the screen, how do i do it now?? any help?

    i have just upgraded to ios 7 but cant seem to close any apps to save battery life, on th eold system it was just a double click and  deleting the icons along the bottom of the screen, any ideas how to now?
    Help?

    Close inactive apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe up on the screenshot of the app you want to exit.
    3. The app will fly off the screen

  • If I got one of the free books off of Itunes, how do I read it? I double click and it does nothing. Is it only to hook up to Iphones or Ipads?

    I got one of the free books of Itunes and I'm wondering how I read it.  I double click and nothing happens.  Is it only for Ipads and Iphones??

    If you have one of the public-domain books provided by Project Gutenberg (these are books published many years ago and which have therefore fallen out of copyright, such as the Dickens and Jane Austin books), you should be able to open it using Calibre:
    http://calibre-ebook.com/
    or one of the other applications that can open ePub format. Launch the app and point it to the book file, which will be in your iTunes folder, in iTunes Music (Media) -> Books.
    Regards.

  • My email preview pane is blank on my Air.  Not on my iPhone or my iPad.  Just the Air.  Started two days ago.  I didn't change anything.  I can double click and open the email.

    My email preview pane is blank on my Air.  Not on my iPhone or my iPad.  Just the Air.  Started two days ago.  I didn't change anything.  I can double click and open the email.

    Back up all data. Rebuild the mailbox.

  • I Just downloaded Dreamweaver CC and it will not open the app., double click and nothing happens?

    I Just downloaded Dreamweaver CC and it will not open the app., double click and nothing happens?

    What exactly are you double-clicking? 
    Once software is installed on your computer, you can usually launch by clicking the icon on your computer's desktop.  Or by looking inside Start > Programs (Win) or Applications Folder (Mac).
    Nancy O.

Maybe you are looking for