Stop execution until GUI is completed

I wrote a program to monitor a seniority list. If an odd last name, first name, etc is encountered, a gui opens to request the proper form of the name. The problem is that the program keeps running even though the gui has not yet been fililed out. How do I stop execution until the GUI is completed?
Thanks
Joe

    public static void readFile2(String lnames   [], String fnames[], String mnames[],
                                 String facs     [], String sdates[], String scores[],
                                 String scrambles[], String filename)
        String tempTitle = "JR";
        System.out.println("Inside ReadFile");
        try
            System.out.println("Inside Try");
            BufferedReader in = new BufferedReader(new FileReader( filename ));
                    //"C:/Documents and Settings/Joe/JavaApplication1/src/test.txt"));
            String tempElement  = "";
            //String tempElements[15];
            String tempElement1 = "";
            String tempElement2 = "";
            String tempElement3 = "";
            String tempElement4 = "";
            String tempElement5 = "";
            String tempElement6 = "";
            String tempElement7 = "";
            String tempElement8 = "";
            String tempElement9 = "";
            String tempElement10 = "";
            String tempElement11 = "";
            String tempElement12 = "";
            StringTokenizer data;
            String S;
            int numberOfTokens = 0;
            int numberOfWords  = 0;
            int numberOfLines  = 0;
            S = in.readLine();
            data = new StringTokenizer(S);
            numberOfTokens = data.countTokens();
            //System.out.println("Next Token " + data.nextToken());
            //System.out.println(data);
            //array[row][col]
            System.out.println("Ready to Tokenize");
            int i = 0;
            int q = 0;
            int lineCount = 0;
            while( ( ! S.equals("") ) && (data.hasMoreTokens() )
                                      && (S.trim().length() != 0))//in.readLine()
                int col = 0;
                int j = 0;
                //while( i < SenListHelpers.getArrayLength(tempElements2) )
                    while( data.hasMoreTokens() )
                        tempElements1[i][j] = data.nextToken();    //get LName
                        System.out.println(" Getting tempElements1[ " + i + " ]" + "[ " + j + " ]" + tempElements1[i][j]);
                        //System.out.println("tempElements [" +  i  +  "] "    + tempElements1[i][j]);
                        j ++;
                    i ++;
                    System.out.println(" i = " + i );
                    int p = 0;
                    System.out.println("tempElements [" +  q  +  "] "    + tempElements1[q][p]
                                                                   + " " + tempElements1[q][p+1]
                                                                   + " " + tempElements1[q][p+2]
                                                                   + " " + tempElements1[q][p+3]
                                                                   + " " + tempElements1[q][p+4]
                                                                   + " " + tempElements1[q][p+5]
                                                                   + " " + tempElements1[q][p+6]);
                    q ++;    
                    //#2
                        ( compareStringByCase(tempElements1[lineCount][0], "DE"    ) ) ||
                        ( compareStringByCase(tempElements1[lineCount][0], "LE"    ) ) ||   
                        ( compareStringByCase(tempElements1[lineCount][0], "LA"    ) ) ||
                        ( compareStringByCase(tempElements1[lineCount][0], "MC"    ) ) ||  
                        ( compareStringByCase(tempElements1[lineCount][0], "ST"    ) ) ||
                        ( compareStringByCase(tempElements1[lineCount][0], "ST."   ) ) ||   
                        ( compareStringByCase(tempElements1[lineCount][0], "VAN"   ) ) ||    
                        ( compareStringByCase(tempElements1[lineCount][0], "EL"    ) )
                    if( ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "DE"    ) ) ||
                        ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "LE"    ) ) ||   
                        ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "LA"    ) ) ||
                        ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "MC"    ) ) ||  
                        ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "ST"    ) ) ||
                        ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "ST."   ) ) ||   
                        ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "VAN"   ) ) ||    
                        ( SenListHelpers.compareStringByCase(tempElements1[lineCount][0], "EL"    ) ) )
                        System.out.println("");
                        correctOfficerGUI test = new correctOfficerGUI(tempElements1, lineCount);
                        test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);  
                        return;// from this method;
//Here is the GUI class
public class correctOfficerGUI extends JFrame
        private final JTextField nameInfo, lname, fname, mname, sdate, score, scramble;
        private JPanel form;
        private final JFrame f;
        //EASTERN NY
        public static String nameInfoString   = new String();
        String facilities[] = {     
        "ADIRONDACK",     "ALBION",    "ALTONA", "ARTHUR KILL", "ATTICA",                         
     "AUBURN CORR",  "BARE HILL", "BAYVIEW",     "BEACON", "BEDFRD HILL",                    
        "BUFFALO",      "BUTLER",    "BUTLER ASAT", "GABRIELS",     "GEORGETOWN",                    
     "PHARSALIA",     "CAPE VINCEN", "CAYUGA", "CHATEAUGAY", "CLINTON COR",     
     "COLLINS",     "COXSACKIE", "DOWNSTATE", "EASTERN NY", "EDGECOMBE",                    
     "ELMIRA CNTR",  "FISHKILL",  "FIVE POINTS", "FRANKLIN", "FULTON FAC",                    
     "GOUVERNEUR",     "GOWANDA", "GREAT MEADW", "GREEN HAVEN", "GREENE",                         
     "GROVELAND",     "HALE CREEK", "HUDSON", "LAKEVIEW", "LAKEVIEW ASA",
     "LINCOLN FAC",     "LIVINGSTON", "LYON MTN", "MARCY", "MID-ORANGE",                    
     "MID STATE",     "MOHAWK",     "MONTEREY", "MORIAH SICF", "MT MCGREGOR",     
        "NYC CTL ADM",  "OGDENSBURG", "ONEIDA",  "ORLEANS", "OTISVILLE",                    
     "QUEENSBORO",     "RIVERVIEW",  "ROCHESTER", "SHAWANGUNK", "SING SING",                    
     "SOUTHPORT",     "SULLIVAN",   "SUMMIT",     "TACONIC C F", "ULSTER",                         
     "UPSTATE",     "WALLKILL",  "WASHINGTON", "WATERTOWN", "WENDE",                         
     "WILLARD",     "WOODBOURNE", "WYOMING"};
    public correctOfficerGUI(String[][] array, int lineCount)
        //JFrame
        f = new JFrame("Add Officer");
        // Make a panel to hold the demo �form", then
        // add it to the top of the frame�s content pane
        //JPanel
        form = new JPanel();
        f.getContentPane().setLayout(new BorderLayout());
        f.getContentPane().add(form, BorderLayout.NORTH);
        // Set the form panel�s layout to GridBagLayout
        // and create a FormUtility to add things to it.
        form.setLayout(new GridBagLayout());
        FormUtility formUtility = new FormUtility();
        // Add some sample fields
        System.out.println(array[lineCount][0] + " " + array[lineCount][1] + " " +
                           array[lineCount][2] + " " + array[lineCount][3] + " " +
                           array[lineCount][4] + " " + array[lineCount][5] + " " +
                           array[lineCount][6] + " " + array[lineCount][7] );
        formUtility.addLabel("Name Info: ", form);
        //JTextField
        nameInfo = new JTextField();
        Dimension nameInfoSize = nameInfo.getPreferredSize();
        nameInfoSize.width = 180;
        nameInfo.setPreferredSize(nameInfoSize);
        JPanel nameInfoPanel = new JPanel();
        nameInfoPanel.setLayout(new BorderLayout());
        nameInfoPanel.add(nameInfo, BorderLayout.WEST);
        formUtility.addLastField(nameInfoPanel, form);
        nameInfo.setText(getNameInfo(array, lineCount));
        formUtility.addLabel("Last Name: ", form);
        //JTextField
        lname = new JTextField();
        Dimension lnameSize = lname.getPreferredSize();
        lnameSize.width = 150;
        lname.setPreferredSize(lnameSize);
        JPanel lnamePanel = new JPanel();
        lnamePanel.setLayout(new BorderLayout());
        lnamePanel.add(lname, BorderLayout.WEST);
        formUtility.addLastField(lnamePanel, form);
        //lname.setText("xxx");
        formUtility.addLabel("First Name: ", form);
        //JTextField
        fname = new JTextField();
        Dimension fnameSize = lname.getPreferredSize();
        fnameSize.width = 150;
        fname.setPreferredSize(fnameSize);
        JPanel fnamePanel = new JPanel();
        fnamePanel.setLayout(new BorderLayout());
        fnamePanel.add(fname, BorderLayout.WEST);
        formUtility.addLastField(fnamePanel, form);       
        formUtility.addLabel("Middle Initial: ", form);
        //JTextField
        mname = new JTextField();
        Dimension mnameSize = mname.getPreferredSize();
        mnameSize.width = 20;
        mname.setPreferredSize(mnameSize);
        JPanel mnamePanel = new JPanel();
        mnamePanel.setLayout(new BorderLayout());
        mnamePanel.add(mname, BorderLayout.WEST);
        formUtility.addLastField(mnamePanel, form);   
        formUtility.addLabel("Facility: ", form);
        //JTextField spacer = new JTextField();
        //Dimension spacerSize = spacer.getPreferredSize();
        //spacerSize.width = 20;
        //spacer.setPreferredSize(spacerSize);
        JPanel spacerPanel = new JPanel();
        spacerPanel.setLayout(new BorderLayout());
        //spacerPanel.add(spacer, BorderLayout.WEST);
        formUtility.addLastField(spacerPanel, form);   
     //Container contentpane;
        //contentpane = getContentPane();
     //contentpane.setLayout(new FlowLayout());
        final JList list = new JList(SenListArraySetUp.facilities);
        /* getFacilityIndex( SenListHelpers.getFacility(array, lineCount), facilities ) */
        System.out.println("getFacility     " + SenListHelpers.getFacility(array, lineCount) );
        System.out.println("*******");
        //System.out.println("getFacility     " + getFacilityIndex( SenListHelpers.getFacility(array, lineCount), SenListArraySetUp.facilities ) );
        //getFacilityIndex( SenListHelpers.getFacility(array, lineCount), facilities );
        System.out.println(" ");
        int index = getFacilityIndex( SenListHelpers.getFacility(array, lineCount), SenListArraySetUp.facilities );
        System.out.println("Index    " + index);
     list.setSelectedIndex(0);
        list.setVisibleRowCount(1);
     list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
     //contentpane
        spacerPanel.add(new JScrollPane(list));
        formUtility.addLabel("Seniority Date: ", form);
        //JTextField
        sdate = new JTextField();
        Dimension sdateSize = sdate.getPreferredSize();
        sdateSize.width = 70;
        sdate.setPreferredSize(sdateSize);
        JPanel sdatePanel = new JPanel();
        sdatePanel.setLayout(new BorderLayout());
        sdatePanel.add(sdate, BorderLayout.WEST);
        formUtility.addLastField(sdatePanel, form); 
        sdate.setText(array[lineCount][SenListHelpers.getSenDateIndex(array, lineCount)]);
        formUtility.addLabel("Score: ", form);
        JTextField score = new JTextField();
        Dimension scoreSize = score.getPreferredSize();
        scoreSize.width = 20;
        score.setPreferredSize(scoreSize);
        JPanel scorePanel = new JPanel();
        scorePanel.setLayout(new BorderLayout());
        scorePanel.add(score, BorderLayout.WEST);
        formUtility.addLastField(scorePanel, form);       
        formUtility.addLabel("Score: ", form);
        //JTextField
        score = new JTextField();
        Dimension scoreSize = score.getPreferredSize();
        scoreSize.width = 30;
        score.setPreferredSize(scoreSize);
        JPanel scorePanel = new JPanel();
        scorePanel.setLayout(new BorderLayout());
        scorePanel.add(score, BorderLayout.WEST);
        formUtility.addLastField(scorePanel, form); 
        score.setText(array[lineCount][SenListHelpers.getArrayColLength(array, lineCount)]);
        formUtility.addLabel("Scramble: ", form);
        //JTextField
        scramble = new JTextField();
        Dimension scrambleSize = scramble.getPreferredSize();
        scrambleSize.width = 30;
        scramble.setPreferredSize(scrambleSize);
        JPanel scramblePanel = new JPanel();
        scramblePanel.setLayout(new BorderLayout());
        scramblePanel.add(scramble, BorderLayout.WEST);
        formUtility.addLastField(scramblePanel, form);       
        JButton addButton = new JButton("Add");
        form.add(addButton);
        //addButton.add(       
     addButton.addActionListener(
          new ActionListener()
          public void actionPerformed( ActionEvent actionEvent )//valueChanged(ListSelectionEvent e)
                    System.out.println("LName is:    " + lname.getText());
                    System.out.println("FName is:    " + fname.getText());
                    System.out.println("MName is:    " + mname.getText());
                    System.out.println("Facility is: " + SenListArraySetUp.facilities[list.getSelectedIndex()]);
                    System.out.println("SenDate is:  " + sdate.getText());
                    System.out.println("Score is:    " + score.getText(/*SenListHelpers.getArrayColLength(array, lineCount - 1)*/));
                    System.out.println("Scramble is: " + scramble.getText(/*SenListHelpers.getArrayColLength(array, lineCount)*/));
                    nameInfoString = lname.getText()    + " " + fname.getText() + " " + mname.getText() + " " +
                                     SenListArraySetUp.facilities[list.getSelectedIndex()]
                                                        + " " + sdate.getText() + " " + score.getText() + " " +
                                     scramble.getText();
                    //System.out.println("Size is: " + SenListHelpers.getArrayLength(SenListArraySetUp.NYSDOCS_Alpha_List_LastNames));
                    insertMethods.insertIntoNYSDOCSAlphaHelper(
                       lname.getText(), fname.getText(), mname.getText(),     
                      facilities[list.getSelectedIndex()],               
                      sdate.getText(), score.getText(), scramble.getText() );
                    //form.cl
                    f.dispose();
                    JOptionPane.showMessageDialog(null, "The Officer has been Added.");
                    //return;                   
                    //System.exit(0);
                    //System.out.println("Facility is:    " + facilities[list.getSelectedIndex()]);
                    /**/ //System.out.println("Facility is:    " + facilities[list.getSelectedIndex()]);
              //contentpane.setBackground(listColorValues
                    //[list.getSelectedIndex()]);
        // Add an little padding around the form
        form.setBorder(new EmptyBorder(2, 2, 2, 2));
//        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//original close operation
        // Note that we don�t use pack() here, since that
        // may shrink the �last" column more than we want.
        f.setSize(300, 300);//230);
        f.setVisible(true);
        //return;
    }

Similar Messages

  • Have system wait until GUI is completed

    I wrote a program to monitor a seniority list. If an odd last name, first name, etc is encountered, a gui opens to request the proper form of the name. The problem is that the program keeps running even though the gui has not yet been fililed out. How do I stop execution until the GUI is completed?
    Thanks
    Joe

    Make the dialog modal.

  • Need to stop servlet execution until another thread completes its execution

    Hi all,
    i created servlet & in the doPost method i run a thread,after the thread end its execution, the servelt takes a result from this thread & do something in it.
    my problem is that , i need to make the servlet stop the execution until this thread ends, & then the servlet continue in executing the remaining code.
    welcome to any help.

    This appears to be a threads related problem. Try Thread.join - http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html#join()

  • How to stop execution in while loop without stopping execution of other loops in the same vi

    HI
    I am quite a novice in Labview.
    I have a problem in my project. I used a while loop inside my vi to build an array of ten values along with other loops. Then I used a stop button to stop manually the while loop. But it seems like the loop doesn't stop in the middle of the array building and so other loops in the vi doesn't work until the while loop finishes building the array and as soon as while loop execution is over, the complete vi stops. But all that I wanted was to build the array using the shift register along with the control to stop building array anytime. And not to stop execution of other structures when the while loop finishes.
    Can anyone help me?
    Rahul

    Hi Rahul,
    Modified ur Vi to work with single button.
    But the subtract case is not in any loop.
    So, once both the loops stop, the subtract case will execute only once. Depending on state of subtaract boolean at that time, corresponding case will be executed and the Vi will stop.
    so think of a logic where u can put this also in a new loop.
    Or you can also incorporate it in one of the two loops and pass the other loop's data to it.
    Let us know how you will proceed in this regard
    I am posting your VI as well a VI with my modifications VI in Labview 7.0 so that Thomas can give his suggestions too
    Plus, always keep a time delay in your while loops.
    Oh sorry, the "arrayinouttestnewfinal.vi" is the modified vi
    Regards
    Dev
    Message Edited by devchander on 01-10-2006 06:15 AM
    Message Edited by devchander on 01-10-2006 06:19 AM
    Attachments:
    arrayinouttestnewfinalnew4.vi ‏59 KB
    arrayinouttestnewfinal.vi ‏63 KB

  • Stop execution of a loop in an event structure

    I tried searching the forums to avoid posting a duplicate, but most I could not open most of the vi's as they were higher version.
    I put in a dummy while loop in an event structire i intend to use. Once I start executing the while loop, I am not able to stop it using a control for some reason from the fornt panel control.
    I am not able to change the vale of the Stop control at all. I tried creating a seperate event for STOP, and I still could not stop the program when the While loop was executing.
    I imagine I am missing something really small. I would appreciate your feedback on this.
    Thanks,
    Nevil
    Solved!
    Go to Solution.
    Attachments:
    FrontPanel.vi ‏34 KB

    Right click on the event structure and choose "Edit Events" for the case that is giving you trouble.
    Be sure the checkbox to lock the front panel is unchecked.
    I suspect yours is checked, so your front panel is locked out until the event completes, thus you can never stop your loop.

  • JSP Page stops execution before the whole page is loaded

    Software
    Tomcat 5.5.2
    JDK 1.5
    Problem
    I have a JSP Page
    The problem is that it never gets finished off completely
    I mean the page is always half loaded I mean it stops execution of the JSP Page in between and it shows no exception in the console Window
    The page is not completely loaded
    I don't know what is the reason and so can't understand the reason behind that
    Thanks in advance
    CSJakharia

    Though Still I am confused why is this Page Buffer creating a sort of Exception.
    I mean it is just a limit that if page reaches to that limit it should send the data
    to client but what is the problem to Server that it stops sending the dataAn error is happening on your page.
    Basically whether or not you get an error screen depends upon when the error is generated. If the error happens before the buffer fills up, then it can cancel the output, and show the error page.
    If the buffer has already been filled up/flushed it can't cancel the output at this point. So it just stops sending.
    That explains why
    1 - page output cuts off halfway through
    2 - if you make a bigger buffer, it can display the exception page - because the error happens before the bigger buffer fills up.
    Regardless of whether the buffer was flushed or not, an error message would always be written to the Tomcat logs - check those for any problems.
    Cheers,
    evnafets

  • How to stop execution after generating error message in an error handler?

    I am working on ALSB 3.0.I have a proxy consisting of 2 stages in a pipeline pair. I have error handlers for each of the stages. The first stage contains schema validation action. Whenever the schema validation fails,control should transfer to error handler.
    The error handler has a publish action and in request action I am calling an xquery transformation to generate error message.Publish action should publish message to a jms based business service configured. My questions are:
    1. After getting into the error handler, the first alert msg configured inside request action (of publish action) is generated.Subsequent actions to generate error xml message and to replace the contents of errorXml in $body are not executed.And so no error message is generated or published.
    2. I have also configured a reply with failure. Inspite of that,the control shifts to next stage in request pipeline and execution continues.
    Can anyone tell me where I need to do the corrections.
    Cheers.
    Edited by: arrajago on Jun 15, 2009 11:55 PM

    Got the answer.Generate error xml outside publish action.Replace action has to placed inside Publish's request action.To stop execution,use Reply action after Publish.

  • External Speakers Randomly Stop Working until I "Test" or Disable/Enable

    I'm using a HP Pavillion DV6 Notebook PC Running Windows 7 Professional 64-bit SP1.
    External speakers randomly stop working until I "test" or disable/enable them. Headphone/HDMI Audio Works.
    Background
    -Recently had to do a clean install of windows.
    -Went to the HP Drivers Website and downloaded all of the latest drivers.
    -I installed several other programs as well (Flash, Steam, Media Player, Browser)
    -The problem started
    Current Settings
    -My deafult device is "Speakers and Headphones: IDT High Definition Audio CODEC"
    -Enhancements are disabled
    -Bass and Treble are set to 4
    -Format is set to 16 bit, 48000 Hz (DVD Quality)
    -Allowing applications to take exclusive control of the device or not doesn't make a difference (but it's currently off)
    Troubleshooting
    -The audio works by plugging in headphones or using an HDMI device
    -The audio comes back if I go to my sound settings and hit "Test", or if I disable and re-enable the device
    Error Messages
    -Youtube starts the video for 3 seconds, restarts and sputters a bit, and then says that there was an error
    -My media player (MusicBee) gives me this message: "Unable to start playback (Error = BASS_ERROR_BUFLOST)"
    That's everything I can think of. Any ideas?

    Hi TheBigBoy,
    Welcome to the HP Support Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I see that you are having a frustrating time with the sound to your external speakers. Have you tried connecting the speakers to another computer to see if is a hardware issue with the speakers? Do the regular speakers work? What is your product number as there are several models in the dv6 series?
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Before the selector value reach a Case structure I need to stop it until a push button is pressed. How to do?

    Before the selector value reach a Case structure I need to stop it until a push button is pressed. How to do?

    altenbach wrote:
    UliB wrote:
    simply wire your selector value through a while loop. Stop the loop with your button. After the loop stops, the value will go on to the case structure.
    Hmmmm.....
    Hello altenbach,
    roflol .
    Thank you for the link to 'A Field Guide To LabVIEW Objects - Selfish Loop'. I'll keep that in mind, when answering other questions with while loops.
    Uli

  • Stopping execution

    Is there a way to stop execution of a query after Nth
    record?

    This page,
    http://www.devx.com/gethelpon/10MinuteSolution/16608/0/page/3,
    has some examples of using rownum. I must be missing something
    because it appears to do what you want.
    Of course, if you want to include ties for nth place, the
    rank() is probably more appropriate. Examples are here:
    http://www.devx.com/gethelpon/10MinuteSolution/16608/0/page/5

  • Creative cloud sync - Stops working until update.

    I am about the closest thing to an IT administrator we have at a  small newspaper that has recently transitioned to Creative Cloud for our production and file sync. While much of our experience has been good we have had some weird problems that make it fairly hard to rely on the file syncing feature of CC. Primarily, recently adobe issued an update to Creative Cloud (Which they do a lot!) that required us to update before it would work again. The notification for this update came in as an icon blip in the menu bar on our mac systems and the system tray (which hides most icons) on the Windows system. As a result only one of our artist updated right away, and the rest ignored/didn't see it. The problem was file syncing stopped working until the clients updated. The end result was that people's artwork wasn't syncing and about a whole days worth of work was delayed until someone figured out that things were breaking and alerted me. So my complaint/suggestion is this:
    If you issue an update:
    Allow the old versions to keep working until the update is installed.
    If the update is important enough to require updating, notify at least the CC Team Administrators in an obvious way (email is a great way, since you already don't mind emailing us about other stuff)
    Also why you are at it if you could ad a "Sync Now" button that would be appreciated.
    It is a little frustrating to be chewed out over something  that you were not aware of over the weekend. Especially since CC is marketed as the backbone of the Adobe system. I know that many of our artist should have paid attention to the icons, but their job is to design their work and get on with it not to be system administrators. They can't all be verifying updates and checking if CC is working all the time. Especially since a traditional server set up wouldn't have this issue (though the cost of setting it up is obnoxious).
    To the community: Have any of you experienced and issue like this before? If so how is the best way to solve this issue in the future. Do I just need to insist that everyone always checks for updates? The problem is compounded by the fact that I am part-time/freelance and thus can't babysit many of our artist.

    You have to provide system info and other details like what program(s) you actually mean. There are no technical reasons that should affect the apps just by disconnecting your computer...
    Mylenium

  • Facebook videos do not play correctly until loading is complete!

    Does anyone else have this problem? Every time I try to play a Facebook video I have to wait until the video completely loads in order to view the video correctly. If I don't wait the sound will play but the video looks bad making it imposible to view. This is a safari problem because I am able to play videos correctly in Google Chrome.
    I currently have:
    OS X Yosemite 10.10.2
    MacBook Pro (13-inch, Mid 2010)
    2.4 GHz Intel Core 2 Duo
    8 GB 1067 MHz DDR3
    NVIDIA GeForce 320M 256 MB

    there's a new version of QuickTime (7.1.3) with iTunes seven, and the "green screen" effect is traditionally associated with a QT not liking the version of the video drivers installed on the PC.
    so it's worth checking to see if there are more current video drivers available for your PC. this document might be of some help with that:
    Updating the drivers on your Windows PC

  • I tried to buy an app init the app store with my registered debit card. Due toinsufficient funds payment was rejected. However whenever i try to download a free app now iTunes will not allow until this payments completed!!!! this is so frustrating.

    I tried to buy an app init the app store with my registered debit card. Due to insufficient funds payment was rejected. However whenever i try to download a free app now iTunes will not allow until this payments completed!!!! this is so frustrating. Help

    If you're unwilling to use a gift card or credit card to complete the transaction, you need to click here and ask the iTunes Store staff for assistance.
    (117750)

  • Macbook battery complete sensor (stop charging when it is complete without unplugging)

    Is it still continue charging when it is fully charged (when the green light is on)? or is there internal sensor which automatically stops charging after it is complete regardless it is plugged.

    Thanks, one nore question: My battery is lasting maximum 2.5-3 hours when it id fully charged. It has been less than a year and it supposed to be around 7 hours. System report:
    Battery Information:
      Model Information:
      Serial Number:          D862375078SDKRNAL
      Manufacturer:          SMP
      Device Name:          bq20z451
      Pack Lot Code:          0
      PCB Lot Code:          0
      Firmware Version:          406
      Hardware Revision:          000a
      Cell Revision:          162
      Charge Information:
      Charge Remaining (mAh):          3674
      Fully Charged:          No
      Charging:          Yes
      Full Charge Capacity (mAh):          5937
      Health Information:
      Cycle Count:          238
      Condition:          Normal
      Battery Installed:          Yes
      Amperage (mA):          3455
      Voltage (mV):          8151
    System Power Settings:
      AC Power:
      System Sleep Timer (Minutes):          10
      Disk Sleep Timer (Minutes):          10
      Display Sleep Timer (Minutes):          10
      Wake on AC Change:          No
      Wake on Clamshell Open:          Yes
      Wake on LAN:          Yes
      AutoPowerOff Delay:          14400
      AutoPowerOff Enabled:          1
      Current Power Source:          Yes
      DarkWakeBackgroundTasks:          1
      Display Sleep Uses Dim:          Yes
      PrioritizeNetworkReachabilityOverSleep:          0
      Standby Delay:          4200
      Standby Enabled:          1
      Battery Power:
      System Sleep Timer (Minutes):          15
      Disk Sleep Timer (Minutes):          10
      Display Sleep Timer (Minutes):          14
      Wake on AC Change:          No
      Wake on Clamshell Open:          Yes
      AutoPowerOff Delay:          14400
      AutoPowerOff Enabled:          1
      DarkWakeBackgroundTasks:          0
      Display Sleep Uses Dim:          Yes
      Reduce Brightness:          Yes
      Standby Delay:          4200
      Standby Enabled:          1
    Hardware Configuration:
      UPS Installed:          No
    AC Charger Information:
      Connected:          Yes
      ID:          0x07a1
      Wattage (W):          45
      Family:          0x0085
      Serial Number:          0x00353d80
      Charging:          Yes

  • Delaying execution until a specified time

    All,
    I am developing a web application using Java servlets (no JSPs). What I have been trying to accomplish is to pass a date in a specified format to a servlet, have the servlet parse the date, and then upon that specified date complete its actions. The passing of the date and parsing works fine, and I can actually get the difference between the specified date and the current date and execute a Thread.currentThread().sleep(difference), but this only seems logical for dateTimes that are fairly close to the current dateTime. This method would obviously not be useful if one wanted to send a date three months from now to this servlet. My question therefore is, Is there a better way to accomplish this?

    Thank you so much for your reply, and I am sorry that this reply has taken me so long. I believe that this will work, but it essentially has the same issue of as I am facing in that it would not be very useful in scheduling a task three months from any given date, because internally it uses the Object.wait(long) method for a given Thread. This would mean, if i am thinking correctly, that my servlet would have to be executed in a browser that would need to be open constantly until execution (three months)? If this is not the case, then please correct me. OItherwise, I may have to take this particular functionality out of a servlet and place it in a stand alone app.

Maybe you are looking for

  • Sql query in report/source

    Is possible use this kind of select select a,(select b from b) from b in sql query in report/source?

  • Adobe Premier Pro Stops Working on Start up

    Okay so pretty Straight forward, but before I get into it I will share my Laptop Specs first OS: 64bit - Windows 8.1 - fully updated Laptop Yoga 13 Processor: Inter Core i7-3517U CPU@ 1.9GHz-2.4GHz RAM: 8GB Hard-Disk: SS Dirve 256GB Graphics: Intel H

  • Create Tax code - non deductable

    Dear all , Pl guide step by step : how to create new tax code (non deductable ) As well pl also guide for the steps need  to carry out before the tax creation . Regards

  • Error Message - ONCOREFoundation7.dll is missing

    When I launch the Editor in Photoshop Elements 11, I am getting a message that says "The program can't start because ONCOREFoundation7.dll is missing from your computer. Try reinstalling the program to fix this problem."  Despite this message my Edit

  • Create ADF Form not insert all values

    Hi to all i have been trying to develop an ADF form Using Master -> Master Detail form inside a train on the screen i have on top customer info view object (master view) on down side a view object using 2 entities and composite association  (master d