JOptionPane Pain

The JOptionPane.showOptionDialog(...) is causing me a lot of pain. I simply want to create a Yes/No confirmation box that functions like the Windows equivalent. (Basically if you press "Y" -yes- gets selected. Likewise if you press "N" -no- should be selected.)
There doesn't seem to be a canned way to perform such a common task. It looks like I am going to have to roll my own -- but I thought this seemed so trivial that surely a viable solution already exists. This is my last cry for help to find this one.
I already tried implementing a tech tip from devx.com for adding Mnemonics, but that only works with Alt+Y/N. Is there any easy solution? Has this already been done? Is there a good reason for not doing it this way?

import javax.swing.JOptionPane;
class Testing
  public Testing()
    int response = JOptionPane.showConfirmDialog(null,"Is this what you want?","",JOptionPane.YES_NO_OPTION);
    if(response < 0) JOptionPane.showMessageDialog(null,"escape or 'x' selected");
    else if(response == 0) JOptionPane.showMessageDialog(null,"you clicked 'YES'");
    else if(response == 1) JOptionPane.showMessageDialog(null,"You clicked 'NO'");
    System.exit(0);
  public static void main(String args[]){new Testing();}
}

Similar Messages

  • Handling JOptionPane.CANCEL_OPTION ?

    hi
    i'm making confirmation dialog with yes,no,cancel option
    and i have a problem that when i press the cancel button the program automatically exits why?
    i want to do other operation when pressing cancel,but it doesn't response to any thing?
        int option = JOptionPane.showConfirmDialog(null,"Save Chages?","Warning",JOptionPane.YES_NO_CANCEL_OPTION);
                if (option == JOptionPane.YES_OPTION) {
                Save();
            else if (option == JOptionPane.NO_OPTION) {
               System.exit(0);
           else if(option == JOptionPane.CANCEL_OPTION){
                    //any thing here doesn't invoke even left empty the program exits
                   frame.requestFocusInWindow();
                                 }

    First of all, please please please clean up the indentation problems with your posted code. This is painful and at times torture. Check out camickr's rec's in your recent thread.
    Next, does the line: frame.requestFocusInWindow();get called if cancel is pressed? It should. Does your program exit after this? If so, maybe this has nothing to do with the option pane and everything to do with your code stream running out of the the river. The program just naturally ended. This is hard for us to know without seeing your code in context.
    Here's my version of your code, formatted
    import javax.swing.JOptionPane;
    class Fubar
      public static void main(String[] args)
        int option = JOptionPane.showConfirmDialog(null, "Save Chages?", "Warning",
            JOptionPane.YES_NO_CANCEL_OPTION);
        if (option == JOptionPane.YES_OPTION)
          System.out.println("Save();");
        else if (option == JOptionPane.NO_OPTION)
          System.exit(0);
        else if (option == JOptionPane.CANCEL_OPTION)
          System.out.println("frame.requestFocusInWindow();");
    }Edited by: Encephalopathic on Sep 15, 2008 8:16 PM

  • Mid 2011 Macbook Air Painfully slow.

    Mid 2011 Macbook Air Painfully slow.
    Hey everyone.  I am writing about my 13 inch Mid 2011 Macbook Air. 
    Recently it has been extremely slow and on occasion has not started up.
    I have reset the PRAM and SMC already, yet it is still very slow.  I have a couple theories about what might have caused it, are they plausible?
    Theory 1:  It’s a software problem. I tried to upgrade to 10.8.2 but halfway through the upgrade the computer restarted and somehow I was still on 10.8.1.  For fear of a big issue happening I didn’t try to upgrade again. Perhaps it is a flaw in Apple’s software update? 
    The important thing to note about this update is that I tried to install 10.8.2 around a month or two weeks BEFORE I started having problems.  So if these issues were due to 10.8.2’s failed update then it certainly was a delayed reaction. 
    I would of course like to update to 10.8.2 BUT as my computer is acting EXTREMELY slow and having trouble turning on occasionally I am worried the software update will completely brick the machine.  Is that possible?  Should I actually finish through with the software update?
    Theory 2:  It was an electricity problem. 
    The computer died when I was sitting at a café plugged into their wall sockets.  A few days later when I came back to the same spot with my old macbook which is now being used in lieu of the Air it suddenly turned black for a little while. Sensing it might be an electricity surge or something with their system I unplugged the cable.  I am not sure if that was paranoia though. 
    Can an electricity surge or a bad outlet fry a computer?  Can it fry the ram so the computer is extremely slow? Does that theory hold any water? 
    Thanks for your help diagnosing this problem.
    All the best. 

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then either copy or drag it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Copy or drag — do not type — the line below into the Terminal window, then press return:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' 
    Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.) You can omit the final line ending in “$”. 
    Step 2 
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}' 
    This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}' 
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null 
    Remember, steps 1-5 are all drag-and-drop or copy-and-paste, whichever you prefer — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Open and Save dialogs are painfully slow. Is there a solution?

    Open and Save dialogs are painfully slow. Is there a solution?

    I pulled this part out of one of the topics Barney-15E linked to. It absolutely works! The glacially slow Finder response has been driving me batty in Mavericks. Each time I restarted, it would take forever to list the startup drive when I opened it. Open and Save dialogues were also painfully slow to respond. Now they all snap open and list instantly. I used TextWrangler to comment out the line in the file auto_master, then ran the automount command in Terminal.
    Working workaround:
    Use the following statements in Terminal.
    sudo vi /etc/auto_master
    In this file comment out /net with #  (#/net .....)
    sudo automount -vc
    Fixed.
    Confirmed here too both for Preview.app Open file sluggishness and Finder window population. Thanks Snaggletooh_DE!
    Couple of notes:
    (1) Some folks may be more comfortable using a GUI editor like TextWrangler instead of vi
         a) in the Finder use the GO menu and select Go to Folder
         b) type  '/etc' ( without single quotes ) in the Go to folder dialog box and press the Go button
         c) Right ( Control  ) click the auto_master file in the resulting Finder window. Select "Open with...." and use TextWrangler ( your choice )
         d) Comment out the line by inserting a '#' ( pound sign ) as noted in Snaggletooth_DE's instructions
         e) Save the file  ( probably need to authenticate with your admin password  )
         f) Do the 'sudo automount -vc' per Snaggletooth_DE's instructions. Will need to authenticate again.
    (2) Notice Snaggletooth_DE described this as a "workaround" because it bypasses an Apple bug. Presumably most people have not changed their auto_master file and it worked fine in Mountain Lion and prior. In other words: If you haven't done so already, please continue to submit feedback and bug reports to Apple for this issue.
    Kudos to Snaggletooth_DE for figuring out code is trying to look at network ( NFS ) volumes that maybe don't exist.

  • Unable to return values in joptionpane

    Hi all,
    Im having a slight problem with some code regarding a joptionpane. With the help of some code i found on the internet (lol i know theres a lot of bad stuff out there but i thought id give it a go), im making a new object array containing my fields, and then adding these objects to the joptionpane. it seems to work ok, but i cant get back the values the user entered into the fields - for a normal joptionpane id call the getText() method. (nb this is only a small test application, so it is ok that a password is being returned for anyone to see!)
    In my code below, all i can get it to do is return the objects details eg javax.swing.JTextField[,0,19,195x20,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0 etc...., and not the value the user entered!
    Is this bad code for what im trying to do? what is the easiest way of returning the users password?
    Thanks in advance
    Torre
    here is the code:
    if ("changePwdPressed".equals(e.getActionCommand())){
                   Object complexMsg[] = { "Current Password: ", new JTextField(10), "New Password: ", new JTextField(10), "Confirm New Password: ", new JTextField(10) };
                   JOptionPane optionPane = new JOptionPane();
                   optionPane.setMessage(complexMsg);
                   optionPane.setMessageType(JOptionPane.INFORMATION_MESSAGE);
                  JDialog dialog = optionPane.createDialog(this, "Change Password");
                  dialog.setVisible(true);
                  int i;
                  for (i=0; i<complexMsg.length; i++)
                  System.out.println(complexMsg);

    This works, but it's ugly...
    package forums;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class ComplexJDialogTest
      public static void main(String[] args) {
        try {
          System.out.println("Hello World!");
          message();
          System.out.println("Hello World!");
        } catch (Exception e) {
          e.printStackTrace();
      private static void message() {
        Object messages[] = {
            "Current Password: ", new JTextField(10)
          , "New Password: ", new JTextField(10)
          , "Confirm New Password: ", new JTextField(10)
        JOptionPane optionPane = new JOptionPane(messages, JOptionPane.INFORMATION_MESSAGE);
        JDialog dialog = optionPane.createDialog(null, "Change Password");
        dialog.setVisible(true);
        for (int i=1; i<messages.length; i+=2) {
          System.out.println(((JTextField)messages).getText());
    dialog.dispose();
    ... I think I would prefer swmtgoet_x's solution... just create your three JTextField's (keep references to them) pass them to the JDialog, then (after user hits OK done) just access them directly.... ergo...
    package forums;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class ComplexJDialogTest
      public static void main(String[] args) {
        try {
          System.out.println("Hello World!");
          message();
          System.out.println("Hello World!");
        } catch (Exception e) {
          e.printStackTrace();
      private static void message() {
        JTextField oldPassword = new JTextField(10);
        JTextField newPassword = new JTextField(10);
        JTextField newPasswordAgain = new JTextField(10);
        Object messages[] = {
            "Current Password: ", oldPassword
          , "New Password: ", newPassword
          , "Confirm New Password: ", newPasswordAgain
        JOptionPane optionPane = new JOptionPane(messages, JOptionPane.INFORMATION_MESSAGE);
        JDialog dialog = optionPane.createDialog(null, "Change Password");
        dialog.setVisible(true);
        dialog.dispose();
        System.out.println(oldPassword.getText());
        System.out.println(newPassword.getText());
        System.out.println(newPasswordAgain.getText());

  • HT1904 I HAVE SPOKEN WITH APPLE AND THEY HELPED ME AS I HAVE CANCER AND THIS IS MY COMFORT THE VIDEOS HELP TAKE AWAY MY PAIN,NOW THE ID AND PASSWORD ARE NOT BEING ACCEPTED AGAIN IHAVE HAD SAME FOR TWO YRS .

    I am having a problem with loging in to my apps as i have had same id and password for all and for two years . youtube music video's helped get through the pain of cancer and the computer help me conect to my friend then i went to mail and i was recieving nothing my doctors all have same passwords and lawyers ,and it would be hard and i could never remember many password changes as i was fine with   ,now this is second time google caused this problem and said i must change password as i belived again and did with out anyone accepting it .i con not recieve mail, or go to face book,or google search as was my only browser and they will not accept my id as they say it is wrong as does all othe web sites as well as youtube i am at a loss . please help me .   Sincerely Debra Rossi Jones
    <Email Edited by Host>

    We are fellow users here on these public forums, you're not talking to iTunes Support - I've asked the hosts to remove your email addresses and password from your post. If that is your current password that you've posted for everyone to see then you should change it IMMEDIATELY.
    I'm not sure that I understand all of your post. By 'google' do you mean your gmail email accounts ? If you do then how are you trying to access your email, via the Mail app and/or another app on your phone, the Mail program or a browser on your Mac ? If you are using the Mail app on your phone and you've checked your email account's password then you should be able to add that new password on your phone by tapping on the email account in Settings > Mail, Contacts, Calendars, then tap on the 'account' at the top of the next screen, and you should then be able to enter the new password. If you are using the Facebook app on your iPhone, and you've changed the password for logging into Facebook, then you should be able to update it on your phone via Settings > Facebook
    If you are using the Mail app on your Mac, then to change your gmail password in it (assuming that you've changed the password for it) then go into Mail > Preferences (command-comma), select the Accounts tab on the preferences, select the gmail account on the list of accounts, and on the right-hand side of that screen you should be able to update its password.
    If the problems are on your Mac then you might be better off re-posting in one of the other forums (e.g. Safari, and there are forums for various Mac OS X versions), and there is also a Using iPhone forum - this forum is for the iTunes Store e.g. buying, downloading content from iTunes.

  • How can I delete local schedule tasks, if they do not show up in the left ARD pain

    In ARD you can schedule task on the local machine.
    Usually you can see the scheduled task in the left pain of the main window.
    I deleated some schedules tasks, but the tasks continue excute every morning.
    Is the a way to find these invisable scheduled tasks and remove them.
    I would be happy to know if a data base needs to be edited or a file deleated
    Cheers
    Gifford

    what dose the invisible task do?

  • Key-enable buttons on a JOptionPane

    Hi,
    The existing code in my Application uses a JOptionPane static method = JOptionPane.showOptionDialog() to create a dialog box.Is there any way I can key-enable the buttons on the dialog created by this method.
    public int createAndShowGUI() {
    if (!issuesPanel.hasIssues())
    return -2; //TODO make constant
    else {
    //Custom button text
    String[] options = should_continue ? new String[] {returnText, continueText} : new String[] {returnText};
    int optionButtons = should_continue ? JOptionPane.OK_CANCEL_OPTION : JOptionPane.CANCEL_OPTION ;
    log.info("IssuesOptionPane displayed - " + title);
    int optionChosen = JOptionPane.showOptionDialog(parent,
    issuesPanel.createAndGetIssuesPanel(),
    title,
    optionButtons,
    JOptionPane.PLAIN_MESSAGE,
    null, //don't use a custom icon
    options, //titles of buttons
    null); //no default selected button
    String buttontext = optionChosen == CLOSE ? "X" : options[optionChosen];
    log.info("User clicked on the " + buttontext + " button");
    return optionChosen;
    I see that there is no way to get a handle on the JButtons created by the JOptionPane.So, one work around that I tried is to create a JPanel, add JButtons , set Input Map, set Action Map ( to add key bindings ) on it.Then create a JDialog and pass this JPanel to the dialog using setContentPane
         private static void createAndShowGUI(){
              JButton bookingButton=new JButton(bookStr);
              JButton returnButton=new JButton(returnStr);
              bookingButton.addActionListener(new BookAction());
              returnButton.addActionListener(new ReturnAction());
              JPanel panel=new JPanel();
              panel.add(bookingButton);
              panel.add(returnButton);
              panel.setActionMap(initActionMap());
              initAndSetInputMap(panel);
              JDialog dialog=new JDialog();
              dialog.setSize(400,100);
              dialog.setModal(true);
              dialog.setContentPane(panel);
              dialog.addPropertyChangeListener(indicator,listener);
              System.out.println("step 1" );
              dialog.pack();
              System.out.println("step 2");
              dialog.setVisible(true);
    But the problem that I am facing here is that the property change events triggered by the code inside the actionPerformed methods is not getting capturesd by the listener attached to the JDialog.
    Any thoughts?
    Thanks
    Aman

    google: JOptionPane mnemonics
    http://www.devx.com/tips/Tip/13718
    http://forum.java.sun.com/thread.jspa?threadID=321824&messageID=1649963
    http://coding.derkeiler.com/Archive/Java/comp.lang.java.gui/2005-03/0495.html
    etc.

  • PAINFULLY slow Mac Pro 2.66

    About a week or so ago I bought an Apple refurb Mac Pro 2.66
    It is replacing a Dual 1.8 G5 with 2GB of RAM. My plan was to "suffer" with 1GB of RAM in the Mac Pro for a while until RAM prices went down. At the same time I bought a MacBook 1.83/512MB to replace my iBook 1.33/512MB laptop.
    Right to the point, the Mac Pro pages out of control, all the time. Even closing windows causes extreme paging. To put it into perspective, my Mac Pro pages significantly more than my old iBook that only had 512MB of RAM. It is so slow I can't even do work. I was going out of my mind. Then, I figured I'd boot the Mac Pro off of the MacBook and run all the disk utilities I could find just to make sure nothing was wrong. Oh I guess I should also say first that the MacBook is just as slow, although with 512 - 64 MB of RAM, it has an excuse at least. So I booted the Mac Pro off the MacBook over Firewire, and started running tests. All the tests were fine. The directory wasn't scrambled. The disk was barely fragmented, no volume problems at all, S.M.A.R.T. tests all passed. But then I noticed something. The machine was no longer paging. Booted off the MacBook's drive, it was acting like a machine with 1GB of ram. It has its slow moments but over all it was fine. Apps opened super fast. It was as fast as I thought the Mac Pro was going to be. So at this point I started to get suspicious of the hard drive. Despite passing all tests. So I googled it's model number and found a manufacturers spec sheet. The first thing I noticed was this quote:
    "Super-quiet drive is almost inaudible. Difference between idle and seek can hardly be detected by human ear, making drive operation almost silent."
    My drive spins up nice and quiet, but seeking is so loud, I can hear it across the room. So now I'm really starting so suspect something is wrong. Both computers have been so slow, I've barely been using them lately but I have much work to do.
    --also as an out of order note, I do run Adobe software, but all the slowness observations happen even when running ONLY intel native apps. Running PPC stuff just makes it worse but its still painfully bad without them.
    So hows this for a theory. I've been told that intel code is optimized more for fast execution likes larger amounts of ram, so a system short on ram feels the pinch more. That, plus the fact that 64MB is being used for video RAM, is making my MacBook legitimately slow. The Mac Pro on the other hand, has a hard drive problem which is causing super slow paging. So I'm hoping that once the drive is replaced, I'll be able to work on the machine normally, or almost normally.
    To give you an idea of how bad the paging is: remember when we used system 7 and would click on a program, and stop everything, walk into the other room, and come back when the application was opened. Thats what I do now on a 1 GB machine. Even switching between apps can take a minute or two.
    What do ya think?

    Unless you yourself did a full fresh clean install of the OS, that is the first thing to do.
    Second, don't migrate any files except data to the Mac Pro. And definitely not PPC program files, install those, but don't use Migration Assistant.
    It sounds like your system is just suffering from "molasses effect" of a poorly installed and updated system, and that someone used Migration Assistant on it.
    2GB of RAM is nice, but if you are running heavy files or memory hungry, 4GB would be nice.
    You may want to setup a boot drive, a scratch drive, and a data drive to help spread the work over multiple drives. Also, the OEM drives do tend to be slow and sluggish, and you want your boot drive to be your best, whether 300GB or 500GB best of class, or 10K Raptor.
    Wipe the drive, zero-all, do a fresh system install and update, and I think you'll find it behaves. Clone the system before installing 3rd party so you have a known good system state and don't have to customize everything again.

  • Painfully long start ups on iMac G3

    I put Jaguar on my daughters G3 slot load 350mhz iMac. I also put a 80 gig drive in and uped the memory to 764 megs. It does start in Jaguar but it is painfully slow. When the screen comes up it makes a noise like 3 soft buzzes, like the drive is trying to serch or something.and keeps repeating that til it comes to the next page in the startup process then makes the same noise. When it finaly does get to the login it does it again. about 20 minutes in all to start. It starts off the OS9 CD and it boots fine from the OS 9 system on the machine. It is a single volume config. When I first insalled it it seemed to start fine after about 2 or 3 months it started acting up. I reformated the drive and reinstalled but it did not help. It has the upgraded firmware and OS 9.2.2
    After it does start is seems to run OK but occasionally freezes.
    Thanks in advance

    Hello Mark & Welcome to Discussions
    What you might try is partitioning the HDD. Seems that most of the lower end iMac's need to have a partition that is 8Gb or less for OS X.
    Then you need to ask yourself if you need or want OS 9? If you do want to keep it, you must install it FIRST, then install OS X. Unless you need 9, why take up the disk space on the smaller partition.
    I also know that there are some issues with OS X when you replace the HDD. Check this website and see. Read all of it very carefully.
    http://www.lowendmac.com/imacs/blues.shtml
    Hope this helps
    JerBear65

  • After all issues, finally got itunes to run right, painful decision.....

    after random freezing and binding of my itunes and subsequently, my machine when using itunes 7 & on, i have since decided to try something different.
    i recreated my raid 0 array, installed all my software, updates and drivers from scratch and backed up the entire partition at the state i wanted it WITHOUT any apple software ever installed.
    i then proceeded to do a few things, i turned off my Nvidia Phys-X card and downloaded itunes 8.0.1 for Vista x64. prior to installing it, i extracted the sub-installation files and manually installed only the quicktime and itunes64 msi files (per ZDNet's recent article on how to do this. I installed quicktime first, in an administrator command prompt using the /passive option (per the article) then restarted the machine and did the same with the itunes64.msi file.
    since i only have a 5.5G, i don't need the other install packages that came with the download.
    but my last and most painful step was that i determined that, more than likely, over the many versions of itunes i've installed and updated over the past 4 years that some of my music files may have gotten corrupted. so now i have embarked on re-encoding my entire library from scratch from my audio cd's.
    so far it has been about 3 hours that itunes has been open in the same windows session and it has not yet binded up on me.

    Same problem here. Since there isn't a shuffle station feature, I thought I'd create a station and then add a bunch of artists to it. So I started out with a Jack White station and then added about 30 more artists. It was working just fine for about 5 songs and then just stopped. It wouldn't load anymore songs on my iphone or in itunes. So I deleted the station and started from scratch. It played one song this time and then no more.
    The other stations I've created and haven't added artists to appear to be working ok, but there is a bit of a delay in getting them going.
    Maybe the servers are overloaded?
    How many artists did you try to add to your station, dinosoar? When it was working, did the station play a good variety before ODing on the Eagles?

  • My MacBook Pro is running painfully slow all of a sudden. I am trying to clean up my iPhoto library and it's all of a sudden running really slow. I've uninstalled and disabled as many unnecessary apps as possible as far as I can tell.

    Here is the etrecheck info. Please advise... thank you!
    Problem description:
    iPhoto is running painfully slow. My library is on an external hard drive. It was runing just fine yesterday. i disabled Dropbox and a few other applications, to no avail.
    EtreCheck version: 2.1.5 (108)
    Report generated January 7, 2015 at 12:40:17 PM EST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (15-inch, Mid 2010) (Verified)
      MacBook Pro - model: MacBookPro6,2
      1 2.4 GHz Intel Core i5 CPU: 2-core
      8 GB RAM Upgradeable
      BANK 0/DIMM0
      4 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      4 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics - VRAM: 288 MB
      NVIDIA GeForce GT 330M - VRAM: 256 MB
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 0:55:4
    Disk Information: ℹ️
      Hitachi HTS545032B9SA02 disk0 : (320.07 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) / : 318.84 GB (54.79 GB free)
      Encrypted AES-XTS Unlocked
      Core Storage: disk0s2 319.21 GB Online
      MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
      Seagate Backup+ Desk 4 TB
      disk2s1 (disk2s1) <not mounted> : 262 KB
      Seagate Backup Plus Drive (disk2s3) /Volumes/Seagate Backup Plus Drive : 4.00 TB (2.73 TB free)
      Apple Internal Memory Card Reader
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Logitech USB Receiver
      Apple Inc. Built-in iSight
      Apple Computer, Inc. IR Receiver
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [loaded] com.logmein.driver.LogMeInSoundDriver (4.1.46f67) [Support]
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.3 - SDK 10.4) [Support]
      /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.3 - SDK 10.4) [Support]
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.3 - SDK 10.5) [Support]
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.3 - SDK 10.4) [Support]
    Startup Items: ℹ️
      ProTec6b: Path: /Library/StartupItems/ProTec6b
      Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
      [loaded] com.citrix.AuthManager_Mac.plist [Support]
      [running] com.citrix.ReceiverHelper.plist [Support]
      [running] com.citrix.ServiceRecords.plist [Support]
      [invalid?] com.logmein.LMILaunchAgentFixer.plist [Support]
      [not loaded] com.logmein.logmeingui.plist [Support]
      [not loaded] com.logmein.logmeinguiagent.plist [Support]
      [not loaded] com.logmein.logmeinguiagentatlogin.plist [Support]
      [invalid?] com.oracle.java.Java-Updater.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [not loaded] com.gopro.stereomodestatus.plist [Support]
      [not loaded] com.logmein.logmeinserver.plist [Support]
      [invalid?] com.logmein.raupdate.plist [Support]
      [loaded] com.macpaw.CleanMyMac2.Agent.plist [Support]
      [invalid?] com.oracle.java.Helper-Tool.plist [Support]
      [loaded] com.sharpcast.xfsmond.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
    User Login Items: ℹ️
      Garmin Express Service Application (/Applications/Garmin Express.app/Contents/Library/LoginItems/Garmin Express Service.app)
      Dropbox Application (/Applications/Dropbox.app)
      Google Chrome ApplicationHidden (/Applications/Google Chrome.app)
      ThisLife Uploader ApplicationHidden (/Applications/ThisLife Uploader.app)
      WDQuickView Application (/Library/Application Support/WDSmartWare/WDQuickView.app)
    Internet Plug-ins: ℹ️
      LogMeInSafari64: Version: 1.0.586 [Support]
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 [Support]
      FlashPlayer-10.6: Version: 15.0.0.246 - SDK 10.6 [Support]
      LogMeIn: Version: 1.0.586 [Support]
      Silverlight: Version: 4.0.60831.0 [Support]
      Flash Player: Version: 15.0.0.246 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
      LogMeInSafari32: Version: 1.0.586 [Support]
      CitrixICAClientPlugIn: Version: 11.8.0 - SDK 10.7 [Support]
      QuickTime Plugin: Version: 7.7.3
      AdobePDFViewer: Version: 11.0.09 - SDK 10.6 [Support]
      GarminGpsControl: Version: 4.2.0.0 - SDK 10.8 [Support]
      iPhotoPhotocast: Version: 7.0 - SDK 10.8
    User internet Plug-ins: ℹ️
      Picasa: Version: 1.0 [Support]
    Safari Extensions: ℹ️
      Evernote Web Clipper [Installed]
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
      GoPro  [Support]
    Time Machine: ℹ️
      Mobile backups: OFF
      Auto backup: NO - Auto backup turned off
      Volumes being backed up:
      Macintosh HD: Disk size: 318.84 GB Disk used: 264.06 GB
      Destinations:
      Seagate Backup Plus Drive [Local]
      Total size: 0 B
      Total number of backups: 0
      Oldest backup: -
      Last backup: -
      Size of backup disk: Too small
      Backup size 0 B < (Disk used 264.06 GB X 3)
    Top Processes by CPU: ℹ️
          8% WindowServer
          2% Safari
          1% mds
          1% loginwindow
          0% AppleSpell
    Top Processes by Memory: ℹ️
      2.13 GB iPhoto
      610 MB Image Capture Extension
      155 MB mds_stores
      129 MB Safari
      129 MB Finder
    Virtual Memory Information: ℹ️
      48 MB Free RAM
      3.71 GB Active RAM
      3.68 GB Inactive RAM
      1.04 GB Wired RAM
      6.89 GB Page-ins
      293 MB Page-outs
    Diagnostics Information: ℹ️
      Jan 7, 2015, 12:28:48 PM /Library/Logs/DiagnosticReports/iPhoto_2015-01-07-122848_[redacted].cpu_resourc e.diag [Details]
      Jan 7, 2015, 12:13:08 PM /Library/Logs/DiagnosticReports/iPhoto_2015-01-07-121308_[redacted].hang
      Jan 7, 2015, 12:07:39 PM /Library/Logs/DiagnosticReports/iPhoto_2015-01-07-120739_[redacted].cpu_resourc e.diag [Details]
      Jan 7, 2015, 12:02:48 PM /Library/Logs/DiagnosticReports/iPhoto_2015-01-07-120248_[redacted].hang
      Jan 7, 2015, 11:51:45 AM /Library/Logs/DiagnosticReports/iPhoto_2015-01-07-115145_[redacted].cpu_resourc e.diag [Details]
      Jan 7, 2015, 11:45:54 AM Self test - passed
      Jan 6, 2015, 05:01:58 PM /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-01-06-170158_[reda cted].crash
      Jan 5, 2015, 02:12:40 PM /Library/Logs/DiagnosticReports/iPhoto_2015-01-05-141240_[redacted].cpu_resourc e.diag [Details]
      Jan 5, 2015, 10:04:15 AM /Library/Logs/DiagnosticReports/com.apple.MediaLibraryService_2015-01-05-100415 _[redacted].cpu_resource.diag [Details]
      Jan 4, 2015, 05:28:20 PM /Users/[redacted]/Library/Logs/DiagnosticReports/HandBrake_2015-01-04-172820_[r edacted].crash
      Jan 4, 2015, 05:28:04 PM /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-01-04-172804_[reda cted].crash
      Jan 4, 2015, 03:09:50 PM /Users/[redacted]/Library/Logs/DiagnosticReports/Finder_2015-01-04-150950_[reda cted].crash
      Jan 4, 2015, 03:09:15 PM /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-01-04-150915_[reda cted].crash

    Start time: 15:08:00 01/08/15
    Model Identifier: MacBookPro6,2
    System Version: OS X 10.10 (14A389)
    Kernel Version: Darwin 14.0.0
    Time since boot: 1 day3:22
    Memory
        BANK 0/DIMM0:
          Size: 4 GB
          Speed: 1067 MHz
          Status: OK
          Manufacturer: 0x859B
        BANK 1/DIMM0:
          Size: 4 GB
          Speed: 1067 MHz
          Status: OK
          Manufacturer: 0x859B
    SerialATA
       Hitachi HTS545032B9SA02                
    USB
       Backup+ Desk (Seagate LLC)
       USB Receiver (Logitech Inc.)
    FileVault: On
    Diagnostic reports
       2014-12-17 Safari crash
       2014-12-17 com.apple.appkit.xpc.openAndSavePanelService crash
       2014-12-17 garcon crash x4
       2014-12-27 Finder crash
       2014-12-27 ThisLife Uploader crash
       2014-12-27 garcon crash x2
       2014-12-28 Finder crash
       2014-12-28 garcon crash x3
       2014-12-31 com.apple.appkit.xpc.openAndSavePanelService crash
       2014-12-31 garcon crash
       2015-01-02 Finder crash
       2015-01-02 garcon crash
       2015-01-05 Finder crash
       2015-01-05 HandBrake crash
       2015-01-05 garcon crash x2
       2015-01-07 garcon crash
       2015-01-08 iPhoto hang x2
    Log
       Jan  7 11:47:39 com.apple.xpc.launchd.domain.user.55: Failed to bootstrap path: path = /Library/LaunchAgents/com.oracle.java.Java-Updater.plist, error = 2: No such file or directory
       Jan  7 11:47:43 com.apple.xpc.launchd.domain.user.202: Could not read path: path = /Library/LaunchAgents/com.oracle.java.Java-Updater.plist, error = 2: No such file or directory
       Jan  7 11:47:43 com.apple.xpc.launchd.domain.user.202: Failed to bootstrap path: path = /Library/LaunchAgents/com.oracle.java.Java-Updater.plist, error = 2: No such file or directory
       Jan  7 11:47:58 com.apple.xpc.launchd.domain.user.89: Could not read path: path = /Library/LaunchAgents/com.oracle.java.Java-Updater.plist, error = 2: No such file or directory
       Jan  7 11:47:58 com.apple.xpc.launchd.domain.user.89: Failed to bootstrap path: path = /Library/LaunchAgents/com.oracle.java.Java-Updater.plist, error = 2: No such file or directory
       Jan  7 11:48:38 jnl: disk2s3: replay_journal: from: 50180096 to: 50778112 (joffset 0x3a3c000)
       Jan  7 11:48:39 jnl: disk2s3: journal replay done.
       Jan  7 11:49:37 com.logmein.LMILaunchAgentFixer: Service setup event to handle failure and will not launch until it fires.
       Jan  7 11:49:39 com.apple.xpc.launchd.domain.pid.om.apple.photostream-agent.319: Path not allowed in target domain: type = pid, path = /Applications/iPhoto.app/Contents/Frameworks/PhotoFoundation.framework/Versions /A/XPCServices/com.apple.PhotoApps.DevicePropertyReader.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /Applications/iPhoto.app/Contents/Library/LoginItems/PhotoStreamAgent.app
       Jan  7 11:49:39 com.apple.xpc.launchd.domain.pid.om.apple.photostream-agent.319: Path not allowed in target domain: type = pid, path = /Applications/iPhoto.app/Contents/Frameworks/PhotoFoundation.framework/Versions /A/XPCServices/com.apple.PhotoApps.DevicePropertyReader.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /Applications/iPhoto.app/Contents/Library/LoginItems/PhotoStreamAgent.app
       Jan  7 11:49:39 com.citrix.ServiceRecords: Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.citrix.Beacons
       Jan  7 11:51:29 process iPhoto[248] thread 2450 caught burning CPU! It used more than 50% CPU (Actual recent usage: 52%) over 180 seconds. thread lifetime cpu usage 90.109268 seconds, (87.476202 user, 2.633066 system) ledger info: balance: 90008641218 credit: 90014455352 debit: 5814134 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 172082865204
       Jan  7 11:52:49 com.apple.xpc.launchd.domain.user.99: Could not read path: path = /Library/LaunchAgents/com.oracle.java.Java-Updater.plist, error = 2: No such file or directory
       Jan  7 11:52:49 com.apple.xpc.launchd.domain.user.99: Failed to bootstrap path: path = /Library/LaunchAgents/com.oracle.java.Java-Updater.plist, error = 2: No such file or directory
       Jan  7 12:07:36 process iPhoto[490] thread 12067 caught burning CPU! It used more than 50% CPU (Actual recent usage: 93%) over 180 seconds. thread lifetime cpu usage 90.200179 seconds, (88.682346 user, 1.517833 system) ledger info: balance: 90012025000 credit: 90016246356 debit: 4221356 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 96436947650
       Jan  7 12:19:32 com.apple.xpc.launchd.domain.pid.quicklookd.536: Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iT unesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd. app
       Jan  7 12:21:38 process WindowServer[134] caught causing excessive wakeups. Observed wakeups rate (per sec): 174; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 130324
       Jan  7 12:24:23 process Image Capture Ex[494] caught causing excessive wakeups. Observed wakeups rate (per sec): 1570; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45166
       Jan  7 12:28:45 process iPhoto[643] thread 21591 caught burning CPU! It used more than 50% CPU (Actual recent usage: 90%) over 180 seconds. thread lifetime cpu usage 90.114637 seconds, (88.373536 user, 1.741101 system) ledger info: balance: 90002127665 credit: 90005648813 debit: 3521148 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 99086317519
       Jan  7 12:30:17 com.apple.xpc.launchd.domain.pid.om.apple.photostream-agent.655: Path not allowed in target domain: type = pid, path = /Applications/iPhoto.app/Contents/Frameworks/PhotoFoundation.framework/Versions /A/XPCServices/com.apple.PhotoApps.DevicePropertyReader.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /Applications/iPhoto.app/Contents/Library/LoginItems/PhotoStreamAgent.app
       Jan  7 12:30:17 com.apple.xpc.launchd.domain.pid.om.apple.photostream-agent.655: Path not allowed in target domain: type = pid, path = /Applications/iPhoto.app/Contents/Frameworks/PhotoFoundation.framework/Versions /A/XPCServices/com.apple.PhotoApps.DevicePropertyReader.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /Applications/iPhoto.app/Contents/Library/LoginItems/PhotoStreamAgent.app
       Jan  7 13:13:15 process com.apple.WebKit[827] caught causing excessive wakeups. Observed wakeups rate (per sec): 560; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 55866
       Jan  7 20:09:33 process iPhoto[643] caught causing excessive wakeups. Observed wakeups rate (per sec): 198; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 269536
       Jan  8 01:12:04 AppleUSBMultitouchDriver::validateChecksum - 512-byte packet checksum is incorrect (expected 0xf60c, checksum bytes were 0xdead)
       Jan  8 15:06:18 com.apple.xpc.launchd.domain.pid.quicklookd.1302: Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iT unesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd. app
    Memory: iPhoto (UID 501) is using 2093 MB
    kexts
       com.logmein.driver.LogMeInSoundDriver (4.1.46f67)
    Daemons
       com.adobe.fpsaud
       com.apple.installer.osmessagetracing
       com.logmein.raupdate
       com.macpaw.CleanMyMac2.Agent
       com.sharpcast.xfsmond
    Agents
       com.adobe.ARM.UUID
       com.apple.AirPortBaseStationAgent
       com.apple.photostream-agent
       com.citrix.AuthManager_Mac
       com.citrix.ReceiverHelper
       com.citrix.ServiceRecords
       com.google.keystone.user.agent
       com.logmein.LMILaunchAgentFixer
    Startup items
       /Library/StartupItems/ProTec6b/DemoOver
       /Library/StartupItems/ProTec6b/Nalpeirond6b
       /Library/StartupItems/ProTec6b/ProTec6b
       /Library/StartupItems/ProTec6b/StartupParameters.plist
    dylibs
       /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/WebKit.dylib
       /Users/USER/Library/Application Support/Google/Chrome/WidevineCDM/1.4.6.703/_platform_specific/mac_x64/libwidev inecdm.dylib
       /usr/lib/HDREfexProFC.dylib
    App extensions
       com.getdropbox.dropbox.garcon
    Contents of /Library/LaunchAgents/com.citrix.AuthManager_Mac.plist
       - mod date: Jun  7 11:58:25 2013
       - checksum: 1591517921
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>ServiceIPC</key>
        <true/>
        <key>MachServices</key>
        <dict>
        <key>com.citrix.AuthManager_Mac</key>
        <true/>
        </dict>
        <key>Label</key>
        <string>com.citrix.AuthManager_Mac</string>
        <key>WaitForDebugger</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/local/libexec/AuthManager_Mac.app/Contents/MacOS/AuthManager_Mac</ string>
        </array>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>Disabled</key>
        <false/>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.citrix.ReceiverHelper.plist
       - mod date: Jun  7 11:58:25 2013
       - checksum: 676087606
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.citrix.ReceiverHelper</string>
        <key>RunAtLoad</key>
        <true/>
        <key>KeepAlive</key>
        <dict>
        <key>SuccessfulExit</key>
        <false/>
        </dict>
        <key>WaitForDebugger</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/local/libexec/ReceiverHelper.app/Contents/MacOS/ReceiverHelper</st ring>
        </array>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>Disabled</key>
        <false/>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.citrix.ServiceRecords.plist
       - mod date: Jun  7 11:58:25 2013
       - checksum: 1445213025
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>ServiceIPC</key>
        <true/>
        <key>MachServices</key>
        <dict>
        <key>com.citrix.Beacons</key>
        <true/>
        <key>com.citrix.ServiceRecords</key>
        <true/>
        </dict>
        <key>Label</key>
        <string>com.citrix.ServiceRecords</string>
        <key>RunAtLoad</key>
        <true/>
        <key>KeepAlive</key>
        <true/>
        <key>WaitForDebugger</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/local/libexec/ServiceRecords.app/Contents/MacOS/ServiceRecords</st ring>
        </array>
       ...and 8 more line(s)
    Contents of /Library/LaunchAgents/com.logmein.LMILaunchAgentFixer.plist
       - mod date: Nov 10 20:47:41 2014
       - checksum: 94065829
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Debug</key>
        <true/>
        <key>Label</key>
        <string>com.logmein.LMILaunchAgentFixer</string>
        <key>OnDemand</key>
        <true/>
        <key>ThrottleInterval</key>
        <integer>1</integer>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/LogMeIn/bin/LMILaunchAgentFixer.app/Contents/MacOS/LMILaunchAgentFixer< /string>
        <string>fromlaunchagent</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.logmein.logmeingui.plist
       - mod date: Jan  7 12:05:30 2015
       - checksum: 849719711
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Debug</key>
        <true/>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.logmein.logmeingui</string>
        <key>LimitLoadToSessionType</key>
        <array>
        <string>Aqua</string>
        </array>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/LogMeIn/bin/LogMeInGUI.app/Contents/MacOS/LogMeInGUI</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
       </dict>
       </plist>
    Contents of /Library/LaunchAgents/com.logmein.logmeinguiagent.plist
       - mod date: Jan  7 12:05:30 2015
       - checksum: 1227007658
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Debug</key>
        <true/>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.logmein.logmeinguiagent</string>
        <key>LimitLoadToSessionType</key>
        <array>
        <string>Aqua</string>
        </array>
        <key>OnDemand</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/LogMeIn/bin/LogMeIn.app/Contents/Helpers/LMIGUIAgent.app/Contents/MacOS /LMIGUIAgent</string>
        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>Sockets</key>
        <dict>
        <key>Listeners</key>
       ...and 19 more line(s)
    Contents of /Library/LaunchAgents/com.logmein.logmeinguiagentatlogin.plist
       - mod date: Jan  7 12:05:30 2015
       - checksum: 3390435066
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Debug</key>
        <true/>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.logmein.logmeinguiagentatlogin</string>
        <key>LimitLoadToSessionType</key>
        <array>
        <string>LoginWindow</string>
        </array>
        <key>OnDemand</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/LogMeIn/bin/LogMeIn.app/Contents/Helpers/LMIGUIAgent.app/Contents/MacOS /LMIGUIAgent</string>
        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>Sockets</key>
        <dict>
        <key>Listeners</key>
       ...and 19 more line(s)
    Contents of /Library/LaunchDaemons/com.gopro.stereomodestatus.plist
       - mod date: Jan 29 17:22:17 2014
       - checksum: 2319101607
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.gopro.stereomodestatus</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>RunAtLoad</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/GoPro/Tools/StereoModeStatus.app/Contents/MacOS/StereoMod eStatus</string>
        </array>
       </dict>
       </plist>
    Contents of /Library/LaunchDaemons/com.logmein.logmeinserver.plist
       - mod date: Jan  7 12:05:30 2015
       - checksum: 1427099528
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Debug</key>
        <true/>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.logmein.logmeinserver</string>
        <key>LegacyTimers</key>
        <true/>
        <key>OnDemand</key>
        <false/>
        <key>ProcessType</key>
        <string>Interactive</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/LogMeIn/bin/LogMeIn.app/Contents/MacOS/LogMeIn</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StandardErrorPath</key>
        <string>/Library/Logs/LogMeIn/stderr.log</string>
        <key>StandardOutPath</key>
       ...and 7 more line(s)
    Contents of /Library/LaunchDaemons/com.logmein.raupdate.plist
       - mod date: Nov 10 20:46:56 2014
       - checksum: 3493110929
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.logmein.raupdate</string>
        <key>OnDemand</key>
        <true/>
        <key>RunAtLoad</key>
        <false/>
        <key>KeepAlive</key>
        <false/>
        <key>LaunchOnlyOnce</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/LogMeIn/update/raupdate</string>
        <string>/s</string>
        </array>
        <key>StandardErrorPath</key>
        <string>/Library/Logs/LogMeIn/stderr.log</string>
        <key>StandardOutPath</key>
        <string>/Library/Logs/LogMeIn/stdout.log</string>
        <key>WorkingDirectory</key>
        <string>/Library/Application Support/LogMeIn/bin/</string>
       ...and 2 more line(s)
    Contents of /Library/LaunchDaemons/com.macpaw.CleanMyMac2.Agent.plist
       - mod date: Sep  1 15:15:35 2014
       - checksum: 2214847194
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.macpaw.CleanMyMac2.Agent</string>
        <key>MachServices</key>
        <dict>
        <key>com.macpaw.CleanMyMac2.Agent</key>
        <true/>
        </dict>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.macpaw.CleanMyMac2.Agent</string>
        </array>
        <key>ServiceIPC</key>
        <true/>
        <key>Sockets</key>
        <dict>
        <key>MasterSocket</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
       ...and 8 more line(s)
    Contents of /Library/LaunchDaemons/com.sharpcast.xfsmond.plist
       - mod date: May  4 20:28:27 2013
       - checksum: 3377386094
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//ENhttp://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <!-- SugarSync version 1.9.96.111090.20130403 -->
       <plist version="1.0">
       <dict>
        <key>Disabled</key>
        <false/>
        <key>Label</key>
        <string>com.sharpcast.xfsmond</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/SugarSync/scxfsmond</string>
        <string>-log</string>
        <string>error</string>
        <string>-launchd</string>
        </array>
        <key>Sockets</key>
        <dict>
        <key>Listeners</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
        <key>SockPathName</key>
       ...and 14 more line(s)
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
       - mod date: Jul 24 11:11:09 2013
       - checksum: 394026997
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.adobe.ARM.UUID</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
        <string>semi-auto</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>12600</integer>
       </dict>
       </plist>
    Contents of Library/LaunchAgents/com.google.keystone.agent.plist
       - mod date: Nov 30 14:26:35 2014
       - checksum: 4084537214
       <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
       <plist version="1.0">
       <dict>
        <key>Label</key>
        <string>com.google.keystone.user.agent</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
         <string>/Users/USER/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bu ndle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftw areUpdateAgent</string>
         <string>-runMode</string>
         <string>ifneeded</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>3523</integer>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
       </dict>
       </plist>
    Listeners
       cupsd: ipp
    User login items
       Garmin Express Service
       - /Applications/Garmin Express.app/Contents/Library/LoginItems/Garmin Express Service.app
       Dropbox
       - /Applications/Dropbox.app
       Google Chrome
       - /Applications/Google Chrome.app
       ThisLife Uploader
       - /Applications/ThisLife Uploader.app
       WDQuickView
       - /Library/Application Support/WDSmartWare/WDQuickView.app
    Safari extensions
       Evernote Web Clipper
       - com.evernote.safari.clipper
    Widgets
       iCal
       Earth
    Restricted files: 339
    Lockfiles: 101
    Elapsed time (s): 844
    Wow, that's a lot of data for you to sift through, but I suppose you know what you are looking to find. I bet you earned every one of those points. Thanks, Linc. All the folks in the world waiting for me to share their photos with them thank you as well : )  Cathleen

  • I am having a painful problem with itunes 10, everytime I go into the itunes store to search for a song, even if I type one letter in it will instantly launch into search mode and doesn't stop, so I'm unable to find

    I am having a painful problem with itunes 10, everytime I go everytime I go into the itunes store to search for a song, even if I type one letter Itunes will instantly launch into search mode and doesn't stop, so because I can never get past putting in the first letter or two, I'm unable to search and download any songs. I am on the latest Imac Intel core i7 Mac OS X, can anybody help?
    Thankyou.
    Beckyg.

    Having this problem too: IT'S REALLY REALLY ANNOYING!!! Anyone have an idea how to sort this?

  • Focus on JOptionPane

    I have a problem.
    If I want to change something within a table, a JOptionPane opens, in which i can enter some values.
    But if I switch to another program over the task bar while the JOptionPane is still open, and I return to my Java program over the task bar, the main window has the focus and the JOptionPane is hidden. During this, the user has no posibillity to close the program. The only possibility to get the JOptionPane back is by ALT+TAB!
    Is it possible, that the JOptionPane will over the task bar?

    Just to easy, that it is really embarassing:
    JOptionPane.showMessageDialog(frame,"Message");
    The first parameter is the parent container. If you pass your main frame, it is modal and in front of the frame!

  • JOptionPane.showInputDialog and Focus

    I have a program that allows the user to type in a String in a text box and when they hit the enter key the text will appear in a text area. I've also added a menu bar to the program. When the user clicks on File and then Connect from the menu bar I want a JOptionPane to pop up that asks for the user to type in a username and then prompt for a password. And I've gotten all of that to work. Now for the problem. I click on file from the menu bar and then connect and it prompts me for the username as it should. I am able to just type in a phrase in the text field of the username dialog box and hit the enter key and then it prompts me for my password. I am still able to type in a phrase in the text field of the password Dialog box, however when I hit the enter key, the Dialog box does not close as it did for the username Dialog box. It will still close if I click on the OK button, but just pressing the enter key does not close the Dialog box as it did when it prompted for a username. I'm thinking I need to direct the focus to the password dialog box, but not sure how to go about doing this. Any help in solving this problem would be greatly appreciated.
    Here is my code:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class TestJOptionPane extends JFrame implements ActionListener{
         private static int borderwidth = 570;
         private static int borderheight = 500;
         private JPanel p1 = new JPanel();
         private JMenu m1 = new JMenu("File");
         private JMenuBar mb1 = new JMenuBar();
         private JTextArea ta1 = new JTextArea("");
         private JTextField tf1 =new JTextField();
         private Container pane;
         private static String s1, username, password;
         private JMenuItem [] mia1 = {new JMenuItem("Connect"),new JMenuItem("DisConnect"),
              new JMenuItem("New..."), new JMenuItem ("Open..."), new JMenuItem ("Save"),
              new JMenuItem ("Save As..."), new JMenuItem ("Exit")};
    public TestJOptionPane (){
         pane = this.getContentPane();
              addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
         dispose();
    System.exit(0);
         setJMenuBar(mb1);
    mb1.add(m1);
    for(int j=0; j<mia1.length; j++){
         m1.add(mia1[j]);
    p1.setLayout( new BorderLayout(0,0));
    setSize(borderwidth, borderheight);
    pane.add(p1);
              p1.add(tf1, BorderLayout.NORTH);
              p1.add(ta1, BorderLayout.CENTER);
              this.show();
              tf1.addActionListener(this);
              for(int j=0; j<mia1.length; j++){
                   mia1[j].addActionListener(this);
         public void actionPerformed(ActionEvent e){
              Object source = e.getSource();
              if(source.equals(mia1 [0])){
                   username = JOptionPane.showInputDialog(pane, "Username");
                   password = JOptionPane.showInputDialog(pane, "Password");
              if(source.equals(tf1)){
                   s1=tf1.getText();
                   ta1.append(s1+"\n");
                   s1="";
                   tf1.setText("");
         public static void main(String args[]){
              TestJOptionPane test= new TestJOptionPane();
    }

    But using JOptionPane doesn't get the focus when you call itworks ok like this
    import javax.swing.*;
    import java.awt.event.*;
    class Testing
      public Testing()
        final JPasswordField pwd = new JPasswordField(10);
        ActionListener al = new ActionListener(){
          public void actionPerformed(ActionEvent ae){
            pwd.requestFocusInWindow();}};
        javax.swing.Timer timer = new javax.swing.Timer(250,al);
        timer.setRepeats(false);
        timer.start();
        int action = JOptionPane.showConfirmDialog(null, pwd,"Enter Password",JOptionPane.OK_CANCEL_OPTION);
        if(action < 0)JOptionPane.showMessageDialog(null,"Cancel, X or escape key selected");
        else JOptionPane.showMessageDialog(null,"Your password is "+new String(pwd.getPassword()));
        System.exit(0);
      public static void main(String args[]){new Testing();}
    }

Maybe you are looking for