Two Imacs One works, One Not

I have just purchased a new Imac 24" which I am very happy with. For the first few days the wireless internet connection worked fine, but lately it has been patchy. I would normally put this down to a poor ISP. But when I put my old G5 17" Imac beside the new one it connects perfectly fine to the wireless network whilst my new imac struggles. Can anyone tell me why this is.

Hi Pjkno..Have you installed the imac firmware update 1.3, mine seems a lot more stable after doing this.
I was using a Netgear modem/router supplied from Sky, I had an Airport Express lying around so I came out of the Netgear and into the Airport Express with an Ethernet cable. Not sure if it made a great deal of difference but I thought the Mac may be happier looking for an Apple product.
Hope this helps.
Just one more thing to ask other Newer Imac users when you click the aiport Icon on the toolbar does it scan for 5-10 secs every time. Is it a new feature in Leopard because my G5 running Tiger doesn't do this.

Similar Messages

  • Two Dell venue 11 pro + dell slim keyboard = one - work, one - not

    Have two Dell Venue 11 Pro - i5 8gb ram 256gb and i5 4gb ram 128gb
    And one dell slim keyboard.
    It works fine just with one tablet! Second device don't see keyboard - like it dead
    How can i connect it? what i need to do? or install some driver maybe?

    which port do you mean? 
    there are two same tablets and one slim keyboard. it works with one tablet, but not working with other
    i just unplugged it from one and plug-in to second tablet
    here is video
    cs_setInnerHtml('video_b26d630e-77c7-4a6d-b4bd-49606efd7cfd','');

  • Connecting two iMacs using second one as display

    I have two iMacs 8,1(2210) 20", I would like to setup it up as dual display (using one of them as a display only). Is it possible? Can't seem to find the right cable (mini dvi to mini dvi). Any suggestion? I saw a video with something about "command+f2" to extent the displays, is that right?

    Your iMacs don't support Target Display Mode Target Display Mode: Frequently Asked Questions (FAQ)
    You may or may not be satisfied with software solutions such as mentioned above.

  • Iphone Webclips Icon Problem (One works, one does not)

    I have two websites with two different hosts. One is Teamkong.net and the webclip I created works fine. The other one is d2football.com and the webclip does not work. I did them the same, put them in the same place and one works and the other one does not. Has to be a server setting or something, right? Suggestions are appreciated.
    Here is the instructions I followed do the process:
    http://vjarmy.com/archives/2008/01/h...clip_icons.php

    that link doesn't work, so cannot really tell you.
    But can say this you should have a reference to it in page and not rely on it just finding it by name as icons such as it and favicons for browsers, rely on finding them at the root...and your provider may be giving you a URL that makes it look like you are at your own root, but in reality you are on a shared server with other sites all subsites off a real root thus cannot be found.
    So add a reference to it to your pages like this
    <link rel="apple-touch-icon" href="/traffic.png"/>
    Add that to your head section and replace the name of the file.
    Can see it working at one of my simple webapps for traffic cameras where I live at http://vcreations.net/traffic/
    Doing it at the page level also allows you to control a bit more each page if you want.

  • One works, one does not.... Different Profile Question....

    I am using Windows Vista. When I am on one profile, I keep getting an error that says that "ITUNES HAS STOPPED WORKING". Then it reports a problem in windows and checks to see if a solution is available. Just for giggles and after alot of frustration with it, I created a new profile. In the new profile, Itunes Works Perfectly. In the other profile I could only use anything below 7.0. 7.0 and above works on the other profile just fine. I dont really want to move everything of mine over to the other profile. But if I delete the other profile and use the new one this is what I will have to do. But I am trying to find out what is causing it to work on one and not the other? It seems that if it was anything like a conflict in windows, the problem would persist on both sides. What is wrong?!?!?!?!?

    Never answered, nobody responded.

  • IOS print to HP ePrint service with 2 SSID on same network. One works, other not.

    Hi.
    I have this situation,  and wants to know if someone have the same problem.
    First of all, sorry for my english. 
    We have an infrastructre of various SSID,  and one of them is configured to public access, except our servers ( 192.168.0.0 network). The rest are private SSIDs, and access to all network traffic.
    We have some HP printers with ePrint service,  and works perfectly from any Wifi device printing to configured email on the HP ePrint service, from the private networks,  but don't works connected from Public SSID.   With a Laptop and an Android device it works perfectly, both private and public SSID.  Seems that iOS can't sync the email on public SSID, so they cant send it to hpeprint account.  The private and public SSID are on different subnetworks (192.168.3.0 and 192.168.9.0 ).  
    The routing and deny/permit rules are configured on a Cisco ASA 5300 device.   The SSID stations are all Cisco Aironet. 
    Problem seems incompatibility with some service / protocol on Cisco ASA and iOS software,  not in printing.  The problem is sending the email,  not printing it.
    I suspect it's on iOS side because on Laptops and Android it works fine.
    Thanks in advance,
    Francesc

    Typically this kind of thing is handled by tweaking the DHCP server to have a list of known client MAC addresses and turning off auto-allocation. Depending on your organization size, though, that might not be practical.
    The better solution, though may be to separate the networks and not try to ru them both on the same subnet. You would be better off creating a 192.168.168.x LAN and a 192.168.167.x LAN and enabling routing between them.
    Depending on your switch this maybe as simple as creating a couple of VLANs and designating each port as being in the .167 or the .168 network as appropirate.
    You then setup some device on the network as a bridge. Depending on which device you use, this could be your switch, a router you install, or even the existing router in your network.
    Clients in the .167 can still print to the .168 printers, and vice versa, by routing the print job through this bridge. If routing between the subnets is too much and you're only worried about printing you could install a print server in each network and run all print jobs through that.

  • I need to carry two iphones for work - one with a UK sim card and one with a Spainsih sim card. Can I REPLICATE contetn across two devices from one itunes account

    Hi there, is it possible to replicate the content of one iphone on a UK sim card to anotehr iphone with a Spanish sim card and carry both devices, actice, for my work purposes?

    certainly.  Synch one of your phones to iTunes.  Then restore the other phone from the first phone's backup.

  • Xml parsing, one works, one does not?

    I am using the xerces parser to validate a xml against a schema. it works fine if i just specified the location of the xml file. however, if i converted the xml file into byte[], it does not work.
    something i did not do right?
    thanks.
    //works
    myParser.parse("C://test.xml");
    //does not work, xml_data is the byte[] of test.xml
    ByteArrayInputStream bais = new ByteArrayInputStream (xml_data);
    myParser.parse(new InputSource(bais));
    errors:
    [warning] org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'stuff.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    [error] org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'ElectronicPayment'.
    cvc-elt.1: Cannot find the declaration of element 'Person'.

    You have:
    ByteArrayInputStream bais = new ByteArrayInputStream (xml_data);
    myParser.parse(new InputSource(bais));
    ERROR is: xml_data is a string, not bytes
    so: try
    ByteArrayInputStream bais = new ByteArrayInputStream (xml_data.getBytes());
    myParser.parse(new InputSource(bais));

  • Keyboard not working..all the top ones work just not the letters, Keyboard not working..all the top ones work just not the letters

    Got a used G4 off Ebay but for some reason the letters and numbers wont type. It changes volume and brightness with other keys including the caps lock...but cant type text.
    Is it stuck in a shift or command key??

    Check the ribbon cable, if that cable is not properly placed these kinds of problems happen

  • IDVD: Files exported from iMovie 11, one works, one "Unsupported File Type : Unknown format"

    I used footage from the same camera (taken on the same weekend using the same settings) in several different iMovie "projects". All were shared from iMovie 11 as "File" using the quality setting "SD 480p".
    In Quicktime Player, all ".mp4" files will play and they show the following info in its inspector:
    Format: H.264, 854 x 480
                  AAC, 48000 Hz, Stereo (L R)
    FPS: 29.97
    One exported file will drag, drop, and burn in iDVD just fine. The other two files show the error "Unsupported File Type : Unknown format" as soon as I try and drag them into iDVD.
    The only difference I can find is that the one file that works is about 803MB, while the files that don't work are 1.87GB and 3.98GB.
    All files and the iDVD project are in the same folder on my startup volume. I've tried deleting com.apple.idvd but that didn't help. I've tried rebooting and starting the iDVD project from scratch but I get the same results.
    Mac OS 10.9.1
    iMovie 10.0.1
    iDVD 7.1.2
    Any ideas?

    Hello Bengt and thank you again for the replies.
    As I mentioned in my previous posts, I'm using iMovie 10.0.1 which has very limited quality adjustments. In every case I chose the smallest size, which iMovie 10.0.1 calls "SD 480p (854 x 480)". I used this same setting on all exports.
    I still have iMovie HD (6.0.4) and iMovie '11 (9.0.9) on my iMac so I tried both of them. In both cases, they could import only the file that works in iDVD. Both older versions of iMovie choked on the longer movies shared from iMovie 10.0.1.
    I have many many hours into the editing of these clips and I do not want to have to go back and redo everything in an older version of iMovie. Might I be better off going with a different DVD creation software? Or am I out of luck? Because I can't really change iMovie 10.0.1's export settings, I'm afraid there's nothing I can do to get it to export it as something that iDVD can use (really, I can't even tell why it's different and why iDVD doesn't like it).
    The software "WonderShare DVD Creator" has no issue with any of the files I've exported from iMovie 10.0.1.    

  • 1-M mappings - one works, one doesn't

    We are using Toplink 9.0.3, build 423. The data source is DB/400 on an AS/400 (IBM type-4 JDBC driver). We have lots of apps running using this configuration, mostly pretty simple table structures and queries.
    I have a pair of 1-M mappings in the same descriptor (the Java code for them is shown below). The essential details are the SAME for both.
    However, my finder - which retrieves objects corresponding to the descriptor (a ReadAllObject() query qualified with an Expresssion) - generates SQL to retrieve (1) a list of the "main" objects, and (2) the children from the first 1-M relationship (CustomerDocuments) for each of the objects, but NOT from the second 1-M relationship (FactoryOrders). I am truly stumped as to why toplink seems to be letting me down here!
    Specifically, Toplink generates a pair of queries. The first retrieves the Order and Order line objects. The second retrieves dependent children from CustomerDocuments. I sort of expect to see Toplink generate a third query retrieving the FactoryOrders objects - but no go.
    There is nothing specific in the query expression that refers to fields from either of the child objects.
    What am I missing??
    Regards,
    Mark
    p.s. The short AS/400 names and the Spanish abbreviations don't help in making sense of this (at least to an English-speaker), but the correct join can be seen in the where clause of the second query comparing it with the CustomerDocument mapping.
    HERE are the mappings:
    OneToManyMapping customerDocumentsMapping = new OneToManyMapping();
    customerDocumentsMapping.setAttributeName("customerDocuments");
    customerDocumentsMapping.setReferenceClass(com.alcoadirect.tracking.impl.EUPM.productsalemgmt.CustomerDocument.class);
    customerDocumentsMapping.dontUseIndirection();
    customerDocumentsMapping.useBatchReading();
    customerDocumentsMapping.privateOwnedRelationship();
    customerDocumentsMapping.useCollectionClass(oracle.toplink.indirection.IndirectList.class);
    customerDocumentsMapping.addTargetForeignKeyFieldName("ALCEDC01.INFOSHRSC.IADPDF.ADPEDIDO", "ALCEDC01.EOPEDBSC.IAPFPEDPOS.PEDIDO");
    customerDocumentsMapping.addTargetForeignKeyFieldName("ALCEDC01.INFOSHRSC.IADPDF.ADLINPED", "ALCEDC01.EOPEDBSC.IAPFPEDPOS.POSICION");
    descriptor.addMapping(customerDocumentsMapping);
    OneToManyMapping factoryOrdersMapping = new OneToManyMapping();
    factoryOrdersMapping.setAttributeName("factoryOrders");
    factoryOrdersMapping.setReferenceClass(com.alcoadirect.tracking.impl.EUPM.productsalemgmt.FactoryOrder.class);
    factoryOrdersMapping.dontUseIndirection();
    factoryOrdersMapping.useBatchReading();
    factoryOrdersMapping.privateOwnedRelationship();
    factoryOrdersMapping.useTransparentCollection();
    factoryOrdersMapping.useCollectionClass(oracle.toplink.indirection.IndirectList.class);
    factoryOrdersMapping.addTargetForeignKeyFieldName("ALCEDC01.EOPEDBSC.IAPFOEGENE.OFICINA", "ALCEDC01.EOPEDBSC.IAPFPEDPOS.OFICINA");
    factoryOrdersMapping.addTargetForeignKeyFieldName("ALCEDC01.EOPEDBSC.IAPFOEGENE.PEDIDO", "ALCEDC01.EOPEDBSC.IAPFPEDPOS.PEDIDO");
    factoryOrdersMapping.addTargetForeignKeyFieldName("ALCEDC01.EOPEDBSC.IAPFOEGENE.POSICION", "ALCEDC01.EOPEDBSC.IAPFPEDPOS.POSICION");
    descriptor.addMapping(factoryOrdersMapping);
    Here is the generated SQL:
    [2004-03-31 18:58:59] INFO - com.alcoadirect.toplinkutil.TopLinkLogCommonsWriter - SELECT t1.SITPOS, t1.PEDIDO, t1.KGPOSICI, t1.DIM1, t1.ALEACION, t1.DIM3, t1.MONEPROD, t1.OFICINA, t1.PREPROD, t1.KGPENPRO, t1.FORMA, t1.DENCLI, t1.DIM2, t1.POSICION, t0.MMPED, t0.PEDIDO, t0.AAPED, t0.TIPOPE, t0.SITPED, t0.DDPED, t0.REFCLI, t0.DESPACHO, t0.OFICINA, t0.SUCURSAL, t0.NUMCLI, t0.NEGOCIO FROM ALCEDC01.EOPEDBSC.IAPFPEDGEN t0, ALCEDC01.EOPEDBSC.IAPFPEDPOS t1 WHERE ((((t0.SUCURSAL = 0) AND (t0.NUMCLI = 4268)) AND (t0.NEGOCIO = '3')) AND ((t0.OFICINA = t1.OFICINA) AND (t0.PEDIDO = t1.PEDIDO))) ORDER BY t0.PEDIDO ASC, t1.POSICION ASC
    [2004-03-31 18:59:01] INFO - com.alcoadirect.toplinkutil.TopLinkLogCommonsWriter - SELECT t0.ADTIPPDF, t0.ADPEDIDO, t0.ADOOEE, t0.ADNDOC, t0.ADCODCEN, t0.ADNOMPDF, t0.ADLINPED FROM ALCEDC01.INFOSHRSC.IADPDF t0, ALCEDC01.EOPEDBSC.IAPFPEDGEN t2, ALCEDC01.EOPEDBSC.IAPFPEDPOS t1 WHERE ((((t0.ADPEDIDO = t1.PEDIDO) AND (t0.ADLINPED = t1.POSICION)) AND (((t2.SUCURSAL = 0) AND (t2.NUMCLI = 4268)) AND (t2.NEGOCIO = '3'))) AND ((t2.OFICINA = t1.OFICINA) AND (t2.PEDIDO = t1.PEDIDO)))

    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

  • Duplicate songs one works one doesn't how do I automatically update?

    My itunes library has two copies of each song and one doesn't work. Is there an easier way to delete the songs that don't play besides manually going through and deleting each one?

    Use iTunes Folder Watch and set it's option to check for dead tracks on start-up.
    tt2

  • 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

  • Multiple Gmail Accounts - one works, one doesn't.

    I have 2 gmail accounts - one for my business, and one for personal. I can't synch them both on the iphone - I am 100% confident that I have the address and pw correctly and the settings are the same for both on the iphone, but one of the accounts works and the other doesn't? Is there some sort of limitation that you can't have 2 gmail accounts on the iphone?
    Thanks

    You've been a big help - thanks - I will try some of this later. I have enabled POP download for the one that didn't work, but I am still getting an error message on the one that has never worked that the connection to pop.gmail.com has failed so I'm sure it's some internal function I need to fix, but you got me on the right path - thanks so much.

  • Syncing one itunes library between two imac's

    In itunes 10, I enabled home share on my two imac's. One imac is new, the other mac has my itunes library.
    I signed onto both imac's home shares with the "same" apple ID. The items library on my old imac now shows up in the new imac itunes library in my itunes list as "joes itunes library".
    Now... how can I sync or copy the entire library between the two imac's, using some sort of "sync" process? I noticed an "import" button at the bottom looking at the "joes itunes library" list on the new imac. If I highlight one selection, it will import that into the new imac itunes library. But i didn't really want to highlight every single movie, tv and music file then import. I was hoping there was a "sync" method to keep both imac itunes libraries mirrored. There must be a way to do this?

    When using homeshare, I realized I CANNOT buy new media thru itunes.
    When buying music, apps or video, the purchase fails.
    Says "contact itunes support to complete transaction".
    Tried several times.
    Even changed credit cards on the acct. Still no go.
    Not a credit card issue
    iTunes tech was pretty much clueless. Told me to try the purchase
    after waiting 24 hours.
    Then I started thinking about homeshare and media rights, so I turned off
    homeshare on both mac's, and the purchase went thru.
    Apple added homeshare to the latest itunes update, or media share (what ever they call it), but looks like something is at issue as to media rights and homeshare and buying from itunes with share is enabled.

Maybe you are looking for

  • HTML5 Wistia and Vimeo hosted videos are not playing correctly in Firefox (Choppy, hangs on frames, jittery audio)

    Hi, for some reason I can't get HTML5 videos hosted by Wistia or Vimeo to play correctly in firefox. I tried doing a fresh install of firefox, running version 35.0.1, and the videos still don't play correctly. They constantly load, videos hang on fra

  • JDK 1.6 doesn't choose proper XPathFactory...

    Hello, I was using jdk 1.5.0 with the saxon api to give me XPath 2.0 functionallity. I've recently upgraded to JDK6 and now the XPathFactory.newInstance() doesn't give me the saxon implementation anymore. When I try to compile the the XPath Expressio

  • IPhone 6 video too dark (much darker than iPhone 5 video)

    Anyone else noticed this?? Also manual exposure control doesn't work for me when in video mode, when i move those on screen controls nothing changes whereas when i move them in photo mode pictures become either brighter or darker.

  • Parameters hanging on to previous values

    Post Author: sharonmtowler CA Forum: General I have a report where the parameters are sent from the stored procedure to the report. crystal 8.5 sql 2000. when i run the report locally and prompt for new parameters it displays the old values from the

  • Method usage

    Hiee All, I have created one method in one view implementation.I want to use that method in another view,how can i do that?how to call that method from other view? Thanks in advance.