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

Similar Messages

  • 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.

  • 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.

  • 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

  • 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

  • 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.    

  • 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.

  • 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','');

  • 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.

  • 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));

  • QuickTime files have EXACT same specifications, one plays, other doesn't

    Alright...some new info.  I found two files in iTunes--one would play and the other wouldn't.  I tried to open each in QT, QT 7 Pro, VLC, DiVX player, with the same results--one worked, one did not.
    I opened Get Info on each .mov file and EVERY IMPORTANT DATA POINT was the same.
    Kind: QuickTime Movie
    Dimensions: 640 x 480
    Codecs: H264, ACC
    Color profile: SD (6-1-6)
    Audio channels: 1
    I could Read and Write on both.
    So how would one file play and the other one just play audio?
    I'm obviously missing something. I'd truly apprecate some insight.
    THANKS!
    C

    So how would one file play and the other one just play audio?
    I'm obviously missing something. I'd truly apprecate some insight.
    What is the video data rate? What is the profile? What is the level? Which entropy mode does it use? What other data tracks are embedded in the file that would trigger the missing codec error? Or can you simply post a copy of the file for further examination?

  • Hi everyone, I have a computer linked to my iPAD through itunes.  Then my Computer crashed and had to get  a new one. How do I get rid of the old computers link on ipad and get it on new computer bcos is wont work! (doesn't work) PLZ HELP :(

    Hi everyone, I have a computer linked to my iPAD through itunes.  Then my Computer crashed and had to get  a new one. How do I get rid of the old computers link on ipad and get it on new computer bcos is wont work! (doesn't work) PLZ HELP

    what do you mean the old computers link?
    my ipad is sycned with my computer but nowhere is there a link
    and if I connected it with a new computer and set it to sync it would replace all my data with the data from the new computer

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

  • I have different account ID's with my iphone and computer. I would like to standardise both to just the one. One of the ID's doesn't work, when I tried to list the second email with the preferred one a message telling me that this email is already in

    I have different account ID's with my iphone and computer.
    I would like to standardize both to just the one.
    One of the ID's doesn't work, when I tried to list this second email with the preferred one a message telling me that this email is already in use pops up.. yes it is, with me??
    Is there an easy to fix this please, Fabfitz

    If the email address you want to use is being used as the primary email address on a different ID you have to manage that ID and change it to a different primary email address.  This explains how: Change your Apple ID - Apple Support.
    If it is being used as an alternate or rescue address on a different ID, you manage the ID and either remove it or change it to a different email address.  This explains how: Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support.

  • HT3678 quicktime pro doesn't accept my registration code.  I have paid for two codes and neither one works.

    quicktime pro doesn't accept my registration code.  I have paid for two codes and neither one works.

    Ensure that you're following these steps.

Maybe you are looking for

  • Acrobat Pro X - Combine files to pdf not available in windows explorer

    I recently upgraded to Acrobat Pro X. With my previous version I could select a group of files, right click and the pop-up menu would allow me to select to combine the files into a pdf. This feature is no longer available after installing Acrobat Pro

  • Regarding alv report with check boxes

    Hai, i have four check boxes as input named new,rejected,accepted and all.these four four check boxes information is nothing but the information that displayed under one field in my internal table.if i click the new check box means that corresponding

  • Maximum Core File Size for Solaris 8

    I believe that RLM_INFINITY for Solaris for core file sizes comes to 2GB. Is there any mechanism ( patch ) etc. by which this can be increasd ?

  • Anyone get 30fps with iSight?

    A new iMac G5 2.1 MHz iSIght built-in, OSX 10.4.5, 512 MB RAM. Only getting 640x480 at 15 fps when recording to "new Movie Recording" with QuickTime 7.0.3. No other devices connected to the USB ports except the keyboard. Anyone here getting 30 fps an

  • Dynamicaly change submit button text?

    Is there a way to do this based on what screen you are on inside of web determinations?, I attempted editing messages.en.properties and using a substitute attribute %textSubmitButton% instead of submit and set that attribute to "testing" within the r