One works vi, one doesn't. debugging help.

The attached vi sends a series of xml files to two separate servers. The files configure a camera; turn it on; then, turn it off. It works over and over again. When I add the same code to a more complicated vi, something hangs up. I'm looking for a suggestions, other than running highlighted that might help me debug this.
Thanks
Attachments:
Dazle.vi ‏68 KB

Hi exo,
You may also want to try setting a breakpoint in your code, then step through it.  You can set a breakpoint from the Tools Palette (View » Tools Palette).  From the Tools Palette, click the Set/Clear Breakpoint button.  You can now set breakpoints in the code, which will halt execution.  You can then step throught the execution using the Step Into, Step Over, and Step Out of buttons, which are all found on the toolbar.  Like Andre said, you can also use Probes to debug your application.  These tools are explained in more detail in the link below, please let me know if you have any other questions!
LabVIEW Debugging Techniques
Regards,
Erik J.
Applications Engineer
National Instruments

Similar Messages

  • New SMTP server has SSL. One of two Ethernet networked Macs works, the other doesn't. Help!

    We changed from Optimum to Verizon FIOS today. We have two Macs connected by Ethernet. The Mini running Mavericks and Thunderbird 24.6 was able to set the outgoing server as smtp.verizon.net on port 465 with connection security SSL/TLS with no authentication and it works fine.
    The other Mac is an ancient G4 running 10.3.9 and TB 2.0.23 and it does not accept running without authentication.
    With optonline, we ran on port 25 with no authentication.
    I tried putting in the user name and pw we entered on verizon.net, and that doesn't work. I tried the user name and pw from our pop mailbox, and that doesn't work. BTW, the incoming mail is working fine on both computers.
    What's going on? How do we fix it?

    But I don't know what user name and password to enter. When I enter the username and password from my Verizon account on the 2nd linked computer, it does not recognize it. Does it have to be entered on both computers? What do we select on the 1st computer running Mavericks? Normal password? Then do we enter our Verizon username and password?

  • 2 computers one recognizes IPOD other doesn't! HELP!

    I need some help with my Ipod. My Ipod does not connect to my home computer (it did one time, but no more) But, it does connect to my computer at work. All my songs are loaded on the computer at work in itunes but I don't have any more space there and i need to use my computer at home.
    I have tried to reset my ipod, but it still is not recognized when i connect it at home. the only thing it does when the USB is connected at home, is it turns the ipod on, but it is not recognized in itunes. What can I do? Any suggestions? Thanks in advance!
      Windows XP  

    Welcome to Apple Discussions!
    Try this...
    Your Windows PC doesn't recognize iPod
    btabz

  • Ok, itunes people, i'm trying to play a playlist on my ipod through my computer, all but one work, the one asks me to autorize my computer, i put in the info, it says it's already authorized, then the message to have it authorized again comes up, help?

    alright yeah, itunes people, i was trying to play a playlist on my computer with the classic ipod, it asks for my id and password, i put in the right id and password, it says computer already authorized, then it asked me to do it again, Can somebody baby step this with me?

    The computer has to be authorized for the account that purcchased the media.
    What error message are you getting when you try to lauthorize the computer for that account?
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • WRT160N, WEP works but WPA doesn't, please help!

    Hello all,
    I have a somewhat strange problem, that I have been trying to troubleshoot for some time, and still cannot figure out, and was looking to get some advice.
    Anyways, I have a WRT160N Linksys Router, that works fine wirelessly in non-secure and WEP security modes, but I cannot get it working correctly in either WPA or WPA2 security modes. 
    The setup of my computer in my apartment means at the moment I cannot use a wired connection to do the inital setup of my router...everything has to be done wirelessly.  So after a fresh factory-reset of my router, I go into the Windows 7 Network and Sharing Center, set up a new wireless connection, punch in the Router PIN, and initally setup my connection with no security.  It connects to the internet just fine.  From there, I go into my router settings vis'-a-vis' 192.168.1.1, and change the wireless security from disabled, to WEP, put in a password, and apply the settings.  I then alter my network profile within the Network and Sharing Center for my wireless network and make sure that its settings match my router's settings.  Once again, everything works great and internet performance is good.
     However, when I instead change my router's security to WPA or WPA2 using the above method, instead of WEP, I cannot get it working correctly.  I change my network profile to match my router's WPA/WPA2 setting, but I either get an ip error, or it won't let me connect to my network, giving me the following error message...."The settings saved on this computer for the network do not match the requirements of the network", even though I am certain the settings on my router match the settings I am inputing into the Windows Network and Sharing Center.  There was one time where I was actually able to get it work in WPA and I was browsing the internet just fine...and my network details in my connection list showed my network was WPA2-PSK, but after a few minutes, the connection disconnected, and I got the 'The settings saved do my match' error message again.
    Are there any special steps I have to take to delete old settings or some special configuration I have to do within Windows to get it to talk to my router correctly when I enable WPA or WPA2?  It seems odd to me that everything works fine in no security or WEP, but WPA/WPA2 seem flaky.
    Any information would be greatly, greatly appreciated.
    Thanks!

    First of all do not do any settings on your Router from the wireless computer...it can damage your router.
    Connect any computer to your Router and do the folowing settings...
    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave Username blank & in Password use admin in lower case...
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    - Here select manual configuration...Wireless Network mode should be mixed...
    - Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
    - Set the Radio Band to Standard-20MHz and change the Standard channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on Save Settings...
    Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security...
    Change the Wireless security mode to WPA, For Passphrase input your desired WPA Key. For example , MySecretKey , This will serve as your network key whenever you connect to your wireless network. Do NOT give this key to anyone and remember the key
    Click on Advanced Wireless Settings
    Change the Beacon Interval to 75 >>Change the Fragmentation Threshold to 2304, Change the RTS Threshold to 2304 >>Click on "Save Settings"...
    NOTE** : Passphrase should be more that 8 characters and it is case sensitive ...
    Now see if you can locate your Wireless Network and attempt to connect...

  • I bought a mini DVI to HDMI convertor and  a HDMI to VGA cable to connect my mac book pro to a tv but it doesn't work any one can help.\\\\\

    i bought a mini DVI to HDMI convertor and  a HDMI to VGA cable to connect my mac book pro to a tv but it doesn't work any one can help.

    I would suggest looking into a Thunderbolt to HDMI connector. In this case, you may be able to use the TV as an external monitor. For this option, please confirm through additional research. I have not tested it personally.
    You can also use an Apple TV, which connects with HDMI. In this case, you can use Airplay Mirroring. Not all Macs support Airplay Mirroring, so you need to check first. I have a Mid-2011 27" iMac, and it supports Airplay Mirroring. I don't use it often because my TV is in another room, but I just tried it and it worked. It had to change the screen resolution to work well, so I don't know if I would want to use it as my day to day monitor. http://support.apple.com/kb/ht5404

  • I have iphone 4 and i used it for a one and half years.i used it in sri lanka and doha qatar,recently i update it i.o.s 7, then it was working.after i.o.s 7.0.3 came i again updeted it and now my phone network is not working.now phone is locked.pls help.

    i have iphone 4 and i used it for a one and half years.i used it in sri lanka and doha qatar also..,recently i update it i.o.s 7, then it was working.after i.o.s 7.0.3 came i again updeted it and now my phone network is not working.now phone is locked.pls help.

    I am seeing if I can get another battery even though I do not believe that is the issue.  It keeps giving me vdd_under which I believe is under voltage, maybe it is just a faulty battery?  It charges up like normal and functions normal (when plugged in, or above 90%) but it gives under voltage warnings and shuts down when in heavy use (using camera or going back and forth to imessage).  When just sitting idle it doesn't seem to turn off until that 55-60% mark.  It may just be a faulty battery because I feel I installed all of the other cables correctly when replacing the screen, and I don't think those connections should affect the battery anyway except for maybe the logic board cable (the 2nd cable to be unplugged after the battery cable) I guess I could clean that out as well with isopropyl just in case.
    Any other suggestions would be helpful... and I will get back to you if a new battery helps.  Thanks!

  • My new iPad air is suddenly asking for a pass code. I have only just finished restoring it from my iPad 2 and I didn't set one. The one I used before doesn't work. What can I do?

    My new iPad air is asking for a pass code. I have only just finished restoring it via iTunes from my ipad2 and I didn't set one. The one I used before doesn't work. What can I do?

    http://support.apple.com/kb/HT1212

  • Satellite L20-182: fan doesn't work properly - one minute intervals

    When I turn on the computer about twenty minutes is quiet. Than fan starts like a hurricane, slows down and stops. It lasts few seconds. The fan works in this way regularly with one minute intervals.
    Is there any possibility to switch the fan on continuous work in slow motion?

    Hi.
    I think that your notebook works fine. I have L20-101 which has Pentium M processor and it does the same. Usually after some period when it turns the fan on and off the fan starts to work at one slow speed. If you really want to have quieter machine and you really want that you can change settings in Bios (Thermal mode control - silent or perfomance). In performance mode processor runs at maximum possible speeds when it needs so fan behaves like yours. In silent mode, fan turns only when it really needs and for very short time. I got used to use silent mode when I do something else in the moment than sitting before my computer and I need my laptop as great calculator (MS-Excel, Rm-Win, MS - Word or 2D drawing in AutoCAD). If you need your computer for aplications that doesn't need very fast machine you can use silent mode. If you really need all power then you can switch to performance mode before booting.
    I need performance mode only for watching Divx movies or converting files to PDF format (it is too slow at silent mode to convert 100 pages of text and drawings to PDF for me)
    If you have any other questions that's my mail:
    [email protected]

  • Lightroom 3.x won't start for one user on my computer.  Works fine for all others.  Help?

    I'm running Vista and LR 3.2.  I have multiple users accounts on the same computer (my family members).  Everyone is able to use LR except one user.  Whenever he trys to launch LR, he gets an error message that says:
    "Lightroom - Opening Catalog: IMG_0154.JPG.lrcat"
    Directly under that is the MS Windows dialog box that says "LR 64-bit has stopped working" and to look for an online solution and close the program.
    I really don't want to reinstall LR again unless I can do so without losing the catalogs from all the other users.  It would be best if we didn't lose the catalog from the user that can't start LR, too.  It's lotsa work to redo...  Help on what to do?
    -Willcy-

    Don't have a clue what's happening, but workaround
    should eb possible bu creating a ne catalog then importing original into
    new. Steps required:
    1. User opens their accoun on PC
    2. Hold down Alt key when launching Lightroom. A dialog should open that will allow you to switch catlogs or create a new one
    3. Choose Create New Catlog. Give it a name (e..g the Users name). and make sure that it is located within the Users account area on hard disk (same location as original is probably best).
    4. When Lr opens go to File menu and choose Import from Catalog
    5. A dialog will open. Locate the old catlog (i.e. the lrcat file) and select.
    6. Hit Choose button
    7. Lightroom will check integretity and contents of old catalog. A dialog will open. Make sure all folders are checked.
    8. Hit Import button.
    9. Close Lr when catlog import is complete.
    10 Reopen Lightroom. The new catalog should open by default

  • Need help I have iPhone (iOS x 7 was the last software update ) I need to install a flashplayer to view links in my email but I don't know which product try or which one works for my mobile device iphone 4....plz help

    Need help I have iPhone (iOS x 7 was the last software update ) I need to install a flashplayer to view links in my email but I don't know which product try or which one works for my mobile device iphone 4....plz help

    Hi shannonr98244154,
    Flash player is not supported on mobile devices
    -Varun

  • ShowOptionDialog - one works, one doesn't

    Just learning and prototyping a program at the same time.
    2 classes to do the same thing different ways.
    the fist works, the second doesn't.
    The problem is in the displaying of the showOptionDialog in the getConfirmation function. In the second the dialog box displays with no buttons, message etc.. If I close the dos frame the message then appears..
    Please disregard the inane field names as this is a learning exercise and will later be changed to more useful names.
    ==================================================================================
    package myprojects.learning;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.border.*;
    import java.text.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.BorderLayout;
    import java.awt.event.*;
    import java.beans.*;
    public class Learning5 extends JFrame{
          class AlignedAndSized extends JFormattedTextField {
              public AlignedAndSized(DefaultFormatterFactory dff,
                                       int width, int height) {
                  super(dff);
                  this.setAlignmentX(LEFT_ALIGNMENT);
                  this.setMinimumSize(new Dimension(width,height));
                  this.setMaximumSize(new Dimension(width,height));
              public AlignedAndSized(int width, int height) {
                   super();
                   this.setAlignmentX(LEFT_ALIGNMENT);
                  this.setMinimumSize(new Dimension(width,height));
                  this.setMaximumSize(new Dimension(width,height));
    // 2 formats - date and amount   
                 DateFormat
                          formatDate      = DateFormat.
                                           getDateInstance(DateFormat.SHORT);
                NumberFormat
                         formatAmount = NumberFormat.getNumberInstance();
    // 2 fields set up purely to construct formatters using the formats      
               JFormattedTextField
                 setDateFormat   = new JFormattedTextField(formatDate),
                 setAmountFormat = new JFormattedTextField(formatAmount);
               DefaultFormatterFactory
                   dateFactory = new DefaultFormatterFactory(
                                            setDateFormat.getFormatter(),
                                            setDateFormat.getFormatter(),
                                            setDateFormat.getFormatter()),
                   amountFactory = new DefaultFormatterFactory(
                                            setAmountFormat.getFormatter(),
                                            setAmountFormat.getFormatter(),
                                            setAmountFormat.getFormatter());
               static String
                    alphaPrompt = "Please overtype";
               static double
                   amountPrompt = 999999.99;
                AlignedAndSized
                   field1           = new AlignedAndSized(200,20),
                  field2           = new AlignedAndSized(200,20),
                   amount1     = new AlignedAndSized(amountFactory,70,20),
                   date1        = new AlignedAndSized(dateFactory,60,20);
         public Learning5() {
              super();
            super.setTitle("Learning5");
            super.setDefaultLookAndFeelDecorated(true);
            super.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            super.getContentPane().add(new WestPanel(), BorderLayout.WEST);       
            super.getContentPane().add(new CenterPanel(), BorderLayout.CENTER);       
            super.pack();
            super.setVisible(true);
       class WestPanel extends JPanel {
               class AlignedBorderedLabel extends JLabel {
                    AlignedBorderedLabel(String s) {
                        super(s);
                        setAlignmentX(RIGHT_ALIGNMENT);
                       setBorder(new EmptyBorder(2,2,2,2));
                 JLabel amountLabel = new AlignedBorderedLabel("amount"),
                        dateLabel   = new AlignedBorderedLabel("date");
              WestPanel() {
                   super();
                  setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
                  setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));
                   add(amountLabel);
                   add(dateLabel);
         class CenterPanel extends JPanel {
               CenterPanel() {
                    super();
                  setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
                  setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));
                  amount1.setName("amount1");
                  amount1.setValue(new Double(amountPrompt));
                   add(amount1);
                  amount1.addActionListener(new VerifyInput(amount1));
                      amount1.setInputVerifier(new VerifyInput(amount1));
                  amount1.addPropertyChangeListener("value", new VerifyInput(amount1));
                  date1.setName("date1");
                  date1.setValue(new Date());
                  add(date1);
                     date1.addActionListener(new VerifyInput(date1));
                   date1.setInputVerifier(new VerifyInput(date1));
                     date1.addPropertyChangeListener("value", new VerifyInput(date1));
    // this CLASS controls the interaction with the user
          class VerifyInput  extends InputVerifier
                               implements ActionListener,
                                            PropertyChangeListener{
             public JFormattedTextField.AbstractFormatter formatter;
             public JFormattedTextField actionSource;
    //constructor sets the formatter
    //   - once for each input field instead of every time
    //     a method is called            
                public VerifyInput(JFormattedTextField ftf){
                     formatter = ftf.getFormatter();
    //implement method from abstract InputVerifier            
                public boolean verify(JComponent ftf) {
                     actionSource = (JFormattedTextField)ftf;
                     if (doFieldChecks(actionSource)) return true;
                   else return false;
    //implement method from interface ActionListener            
              public void actionPerformed(ActionEvent ftf) {
                   actionSource  = (JFormattedTextField)ftf.getSource();
                   int n = 1;
                   if ((doFieldChecks(actionSource))) {
                          if (date1.getName().equals(actionSource.getName())) {
                               n = getConfirmation();
                               switch (n) {
                                    case JOptionPane.YES_OPTION: {
                                         System.out.println ("do the work now " + actionSource.getName());
                                        System.exit(0);
                                    case JOptionPane.NO_OPTION:
                                         System.exit(0);
                                    default :
                                         break;
                          else
                               actionSource.transferFocus();
    //implement method from interface PropertyChangeListener            
                public void propertyChange(PropertyChangeEvent ftf) {
                 actionSource = (JFormattedTextField)ftf.getSource();
                   if (doFieldChecks(actionSource)) {
                          actionSource.transferFocus();
              public boolean doFieldChecks(JFormattedTextField actionSource) {
                     try {
    //use the formatter to check format
                        formatter.stringToValue(actionSource.getText());
    //enforce overtyping of input prompts
                        if (alphaPrompt.equals(actionSource.getText())
                        || ((formatAmount.format(amountPrompt)).
                                                equals(actionSource.getText()))) {
                                   sendMessage(" - overtype ");
                                   return false;
    //don't allow duplicate text in fields
                        if  (actionSource.getName().equals(field1.getName())
                        ||   actionSource.getName().equals(field2.getName())){
                            if (field1.getText().equals(field2.getText())) {
                                        sendMessage(" - Xcheck");
                                        return false;
    //add any new checks here
    //NB. only up to 3 messages displayed at one time
                      catch (ParseException pe) {
                        sendMessage(" - format ");
                        return false;
                   return true;
              void sendMessage(String emsg){
                   System.out.println (actionSource.getName()  +
                                                                     " " +
                                                                     " " + emsg);
                 int getConfirmation() {
                   Object[] options = {"Go ahead", "Cancel", "Re-enter"};
                 return JOptionPane.showOptionDialog(
                    null,
                    "checks complete! go ahead, cancel or re-enter?",
                    "Confirmation",
                    JOptionPane.YES_NO_CANCEL_OPTION,
                    JOptionPane.QUESTION_MESSAGE,
                    null,
                    options,
                    options[0]);
         public static void main(String[] args) {
              Locale.setDefault(Locale.UK);
             javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                     JFrame frame = new Learning5();
    }==================================================================================
    package myprojects.learning;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.border.*;
    import java.text.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.BorderLayout;
    import java.awt.event.*;
    import java.beans.*;
    public class Learning5 extends JFrame{
          class AlignedAndSized extends JFormattedTextField {
              public AlignedAndSized(DefaultFormatterFactory dff,
                                       int width, int height) {
                  super(dff);
                  this.setAlignmentX(LEFT_ALIGNMENT);
                  this.setMinimumSize(new Dimension(width,height));
                  this.setMaximumSize(new Dimension(width,height));
              public AlignedAndSized(int width, int height) {
                   super();
                   this.setAlignmentX(LEFT_ALIGNMENT);
                  this.setMinimumSize(new Dimension(width,height));
                  this.setMaximumSize(new Dimension(width,height));
    // 2 formats - date and amount   
                 DateFormat
                          formatDate      = DateFormat.
                                           getDateInstance(DateFormat.SHORT);
                NumberFormat
                         formatAmount = NumberFormat.getNumberInstance();
    // 2 fields set up purely to construct formatters using the formats      
               JFormattedTextField
                 setDateFormat   = new JFormattedTextField(formatDate),
                 setAmountFormat = new JFormattedTextField(formatAmount);
               DefaultFormatterFactory
                   dateFactory = new DefaultFormatterFactory(
                                            setDateFormat.getFormatter(),
                                            setDateFormat.getFormatter(),
                                            setDateFormat.getFormatter()),
                   amountFactory = new DefaultFormatterFactory(
                                            setAmountFormat.getFormatter(),
                                            setAmountFormat.getFormatter(),
                                            setAmountFormat.getFormatter());
               static String
                    alphaPrompt = "Please overtype";
               static double
                   amountPrompt = 999999.99;
                AlignedAndSized
                   field1           = new AlignedAndSized(200,20),
                  field2           = new AlignedAndSized(200,20),
                   amount1     = new AlignedAndSized(amountFactory,70,20),
                   date1        = new AlignedAndSized(dateFactory,60,20);
         public Learning5() {
              super();
            super.setTitle("Learning5");
            super.setDefaultLookAndFeelDecorated(true);
            super.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            super.getContentPane().add(new WestPanel(), BorderLayout.WEST);       
            super.getContentPane().add(new CenterPanel(), BorderLayout.CENTER);       
            super.pack();
            super.setVisible(true);
       class WestPanel extends JPanel {
               class AlignedBorderedLabel extends JLabel {
                    AlignedBorderedLabel(String s) {
                        super(s);
                        setAlignmentX(RIGHT_ALIGNMENT);
                       setBorder(new EmptyBorder(2,2,2,2));
                 JLabel amountLabel = new AlignedBorderedLabel("amount"),
                        dateLabel   = new AlignedBorderedLabel("date");
              WestPanel() {
                   super();
                  setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
                  setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));
                   add(amountLabel);
                   add(dateLabel);
         class CenterPanel extends JPanel {
               CenterPanel() {
                    super();
                  setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
                  setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));
                  amount1.setName("amount1");
                  amount1.setValue(new Double(amountPrompt));
                   add(amount1);
                  amount1.addActionListener(new VerifyInput(amount1));
                      amount1.setInputVerifier(new VerifyInput(amount1));
                  amount1.addPropertyChangeListener("value", new VerifyInput(amount1));
                  date1.setName("date1");
                  date1.setValue(new Date());
                  add(date1);
                     date1.addActionListener(new VerifyInput(date1));
                   date1.setInputVerifier(new VerifyInput(date1));
                     date1.addPropertyChangeListener("value", new VerifyInput(date1));
    // this CLASS controls the interaction with the user
          class VerifyInput  extends InputVerifier
                               implements ActionListener,
                                            PropertyChangeListener{
             public JFormattedTextField.AbstractFormatter formatter;
             public JFormattedTextField actionSource;
    //constructor sets the formatter
    //   - once for each input field instead of every time
    //     a method is called            
                public VerifyInput(JFormattedTextField ftf){
                     formatter = ftf.getFormatter();
    //implement method from abstract InputVerifier            
                public boolean verify(JComponent ftf) {
                     actionSource = (JFormattedTextField)ftf;
                     if (doFieldChecks(actionSource)) return true;
                   else return false;
    //implement method from interface ActionListener            
              public void actionPerformed(ActionEvent ftf) {
                   actionSource  = (JFormattedTextField)ftf.getSource();
                   int n = 1;
                   if ((doFieldChecks(actionSource))) {
                          if (date1.getName().equals(actionSource.getName())) {
                               n = getConfirmation();
                               switch (n) {
                                    case JOptionPane.YES_OPTION: {
                                         System.out.println ("do the work now " + actionSource.getName());
                                        System.exit(0);
                                    case JOptionPane.NO_OPTION:
                                         System.exit(0);
                                    default :
                                         break;
                          else
                               actionSource.transferFocus();
    //implement method from interface PropertyChangeListener            
                public void propertyChange(PropertyChangeEvent ftf) {
                 actionSource = (JFormattedTextField)ftf.getSource();
                   if (doFieldChecks(actionSource)) {
                          actionSource.transferFocus();
              public boolean doFieldChecks(JFormattedTextField actionSource) {
                     try {
    //use the formatter to check format
                        formatter.stringToValue(actionSource.getText());
    //enforce overtyping of input prompts
                        if (alphaPrompt.equals(actionSource.getText())
                        || ((formatAmount.format(amountPrompt)).
                                                equals(actionSource.getText()))) {
                                   sendMessage(" - overtype ");
                                   return false;
    //don't allow duplicate text in fields
                        if  (actionSource.getName().equals(field1.getName())
                        ||   actionSource.getName().equals(field2.getName())){
                            if (field1.getText().equals(field2.getText())) {
                                        sendMessage(" - Xcheck");
                                        return false;
    //add any new checks here
    //NB. only up to 3 messages displayed at one time
                      catch (ParseException pe) {
                        sendMessage(" - format ");
                        return false;
                   return true;
              void sendMessage(String emsg){
                   System.out.println (actionSource.getName()  +
                                                                     " " +
                                                                     " " + emsg);
                 int getConfirmation() {
                   Object[] options = {"Go ahead", "Cancel", "Re-enter"};
                 return JOptionPane.showOptionDialog(
                    null,
                    "checks complete! go ahead, cancel or re-enter?",
                    "Confirmation",
                    JOptionPane.YES_NO_CANCEL_OPTION,
                    JOptionPane.QUESTION_MESSAGE,
                    null,
                    options,
                    options[0]);
         public static void main(String[] args) {
              Locale.setDefault(Locale.UK);
             javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                     JFrame frame = new Learning5();
    }

    I found the answer at
    http://forums.adobe.com/message/3089415
    The link to one prproj file had broken, and I had to reimport a Permier project again. 
    Strange, I hadn't moved or renamed it, but at least my menu works now, so all is well in the world.
    Scott

  • I have 3 computers. i want to get files from one to another. it doesn't work, i think it is a problem with the apple id?

    i have 3 computers. i want to get files from one to another. it doesn't work, i think it is a problem with the apple id?

    Roger:
    Zugriffsrecht means Access Right according to the translators.
    martinamm:
    You can't do what you want with iCloud.  You will need to setup remote access to your main computer with VPS or some similar remote access application.   With VPS you have an application running on your main computer turning it into a server and an client app on your laptop so you can access it remotely.  There are many such apps out there, some probably more feature filled than VPS.  You might post in the system forum that you're running and ask there.
    OT

  • Hii i m frm BGD. I m using iphone 5. My carrier BGD ROBI AXIATA. When it was ios 6 it works better . But i recently upgrade to ios 7 and i facing the little problem. One of the ussd call. Plz help or suggest ir doing better about itz as soon as possible.

    Hii i m frm BGD. I m using iphone 5. My carrier BGD ROBI AXIATA. When it was ios 6 it works better . But i recently upgrade to ios 7 and i facing the little problem. One of the ussd call. Plz help or suggest ir doing better about itz as soon as possible.

    I'm not trying to minimize your issues, but I have an iPhone 5S and find that I have not had these types of problems on AT&T. I'm wonding if something has gotten stuck in a loop that is continually trying to use data. If you make a good backup of your phone, try restoring it as new, and do not add anything to the phone right away. Let the device run like this for a little while and see what kind of usage you have. You report you phone is showing usage of 21GB. Did you rese this setting on the phone to begin at your billing period? The reason I ask this is some people believe this setting resets on its own with your billing period, it does not. This has to be manually reset by the user, so it might not be that accurate depending on the last time that you reset it.
    If the phone seems to not use so much extra data during the period the device does not have extra apps on it, then try restoring from your backup and see what happens. If this increases your data usage quite fast again, then there is probably something corrupt in the backup that is causing this issue.

  • I am facing a weird problem with my iphone 4s Wi-Fi connectivity. As i connect my iphone to my office Wi-Fi, internet works in one building, but it doesnt work in the other building, although the phone shows Wi-Fi is connected. Please help me out!!

    I am facing a weird problem with my iphone 4s Wi-Fi connectivity. As i connect my iphone to my office Wi-Fi, internet works in one building, but it doesnt work in the other building, although the phone shows Wi-Fi is connected in the other building. This problem was not there earlier but has occured recently. I would also like to mention that none of my other colleauges who uses iphone are not facing this issue. Please help me out!!

    Assuming you entered the correct WiFi password for your network, see these articles:
    iOS: Troubleshooting Wi-Fi networks and connections
    iOS and OS X: Recommended settings for Wi-Fi routers and access points

Maybe you are looking for

  • Rotation of screen is not functioning

    Rotation of my ipad air screen is not functional. I tried all possibilities at control center ,but it's displaying horizontal alignment only. Please advice.

  • Files & Programs won't open with double click

    Hello, I'm not sure if this is a Snow Leopard problem or an iMac problem but it seems since I loaded Snow Leopard files and programs will not open if I double click on them, I have to right click then choose open. Does anyone know why this should hap

  • Windows 7 on T61

    Hi, A lot of Infos on Windows 7 for new shipping laptops is available on the Lenovo Website... http://forums.lenovo.com/t5/Windows-7-Launch/Lenovo-and-Windows-7-Information/td-p/167070 Anyone knows how to get a Windows 7 CD/DVD for a T61 bought 1,5 y

  • Frozen ipod photo.  Can't do anything.  Help!

    My ipod photo 60 gig was working fine today, then suddenly froze up. The screen stays on with backlight on, showing the menu that was on when it froze. I can't do any of the 5 r's, can't toggle the hold switch can't move from menu to menu. When I con

  • Unable to Sync new photos

    I'm not sure if this is the right forum for this, but I'll just start here. This morning I tried to sync some new photos to both my iPhone and AppleTV from my Aperture library. I created a new Album from photos in a Project. According to Aperture the