Problem adding Icon to JTextPane

I want to add an image to my JTextPane but it won't work. First i thought it was something with my path of my file but then i tried with a JFileChooser so i could chose the file so i'm sure that the file is good. But still, i don't get the image on my JTextPane. This is the code:
File file = chooser.getSelectedFile();
Icon icon2 = new ImageIcon (file.getAbsolutePath());
textPane.insertIcon (icon2);I don't know if this would help but i'm using a lot of different SimpleAttributeSets
My textPane is dissabled, can it be that?

I have found that the problem is with the setEnable.
When it is disabled i can't add an Icon but when it is enabled, i can.
When it is disabled, then i do: textPane.setEnabled(true) and then add an icon, it also won't work. Not even when i set the carretPosition.
How can i add an icon AND still be disabled?

Similar Messages

  • Adding icons to menu items

    Okay, I'm a newbie at Java. I have a problem that I'm trying to solve. I added icons to the File menu item, that was easy, but how do I add icons to the other menu items? They are DefaultEditorKit. actions (cut copy paste undo redo) I can't seem to change their names either.
    I'm also having problems with saving the changes I make in the text area.
    Here's the whole code.
    package components;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.HashMap;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.AbstractButton;
    import javax.swing.text.*;
    import javax.swing.event.*;
    import javax.swing.undo.*;
    public class TextComponentDemo extends JFrame implements ActionListener {
        JTextPane textPane;
        AbstractDocument doc;
        JTextArea changeLog;
        JButton newButton, openButton, saveButton, undoButton, redoButton, /*cutButton, copyButton, pasteButton,*/ boldButton, italicButton, underlineButton;
        protected String newline = "\n";
        HashMap<Object, Action> actions;
         File fFile = new File("default.txt");
         JavaFilter fJavaFilter = new JavaFilter();
        protected UndoAction undoAction;
        protected RedoAction redoAction;
        protected UndoManager undo = new UndoManager();
        public TextComponentDemo() {
            super("Notepad v1.0");
            //Create the text pane and configure it.
            textPane = new JTextPane();
            textPane.setCaretPosition(0);
            textPane.setMargin(new Insets(5,5,5,5));
            StyledDocument styledDoc = textPane.getStyledDocument();
            if (styledDoc instanceof AbstractDocument) {
                doc = (AbstractDocument)styledDoc;
            } else {
                System.err.println("Text pane's document isn't an AbstractDocument!");
                System.exit(-1);
            JScrollPane scrollPane = new JScrollPane(textPane);
            scrollPane.setPreferredSize(new Dimension(600, 350));
            newButton = new JButton ("", createImageIcon("images/new.png"));
            newButton.setBackground(Color.white);
       //     newButton.setActionCommand("nou");       
       //     newButton.addActionListener(this);        
            openButton = new JButton("", createImageIcon("images/open.png"));
            openButton.setBackground(Color.white);
            openButton.setActionCommand("deschide");       
            openButton.addActionListener(this);
            saveButton = new JButton("", createImageIcon("images/save.png"));
            saveButton.setBackground(Color.white);
            saveButton.setActionCommand("salveaza");       
            saveButton.addActionListener(this);
            Action actionBold = new StyledEditorKit.BoldAction();
            actionBold.putValue(Action.NAME, "Bold");
            boldButton = new JButton(actionBold);
            boldButton.setBackground(Color.white);
            Action actionItalic = new StyledEditorKit.ItalicAction();
            actionItalic.putValue(Action.NAME, "Italic");
            italicButton = new JButton(actionItalic);
            italicButton.setBackground(Color.white);
            Action actionUnderline = new StyledEditorKit.UnderlineAction();
            actionUnderline.putValue(Action.NAME, "Underline");
            underlineButton = new JButton(actionUnderline);
            underlineButton.setBackground(Color.white);
              String[] fontStrings = { "Arial", "Arial Black", "Comic Sans MS", "Georgia", "Serif", "SansSerif", "Times New Roman", "Trebuchet MS", "Verdana" };
              JComboBox fontList = new JComboBox(fontStrings);
            fontList.setSelectedIndex(0);
            fontList.setBackground(Color.white);
            fontList.setActionCommand("font");
            fontList.addActionListener(this);
               String[] sizeStrings = { "12", "14", "16", "18", "20", "22", "24", "36", "48" };
              JComboBox sizeList = new JComboBox(sizeStrings);
            sizeList.setSelectedIndex(0);
            sizeList.setBackground(Color.white);
            sizeList.setActionCommand("size");
            sizeList.addActionListener(this);
            JPanel buttonPanel = new JPanel(); //use FlowLayout
              buttonPanel.add(newButton);
            buttonPanel.add(openButton);
            buttonPanel.add(saveButton);
         //   buttonPanel.add(cutButton);
         //   buttonPanel.add(copyButton);
         //   buttonPanel.add(pasteButton);
            buttonPanel.add(boldButton);
            buttonPanel.add(italicButton);
            buttonPanel.add(underlineButton);
            buttonPanel.add(fontList);
            buttonPanel.add(sizeList);
            getContentPane().add(buttonPanel, BorderLayout.PAGE_START);
             getContentPane().add(scrollPane, BorderLayout.CENTER);
            //Set up the menu bar.
            createActionTable(textPane);
            JMenu fileMenu = createFileMenu();
            JMenu editMenu = createEditMenu();
            JMenu fontMenu = createFontMenu();
            JMenu ajutorMenu = createAjutorMenu();
            JMenuBar mb = new JMenuBar();
            mb.add(fileMenu);
            mb.add(editMenu);
            mb.add(fontMenu);
            mb.add(ajutorMenu);
            setJMenuBar(mb);
            //Start watching for undoable edits and caret changes.
            doc.addUndoableEditListener(new MyUndoableEditListener());
           //This one listens for edits that can be undone.
        protected class MyUndoableEditListener
                        implements UndoableEditListener {
            public void undoableEditHappened(UndoableEditEvent e) {
                //Remember the edit and update the menus.
                undo.addEdit(e.getEdit());
                undoAction.updateUndoState();
                redoAction.updateRedoState();
    private ImageIcon createImageIcon (String fileName) {
          return new ImageIcon(fileName);
    protected JMenu createFileMenu() {
              JMenu menu = new JMenu("Fisier");
              menu.setMnemonic(KeyEvent.VK_F);
            JMenuItem menuItem;
            ImageIcon iconNou = new ImageIcon("images/new.png");
            menuItem = new JMenuItem("Nou", iconNou);
            menuItem.setMnemonic(KeyEvent.VK_N);
            menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, ActionEvent.CTRL_MASK));
       //   menuItem.setActionCommand("nou");       
       //   menuItem.addActionListener(this);         
            menu.add(menuItem);
         menu.addSeparator();
              ImageIcon iconOpen = new ImageIcon("images/open.png");
              menuItem = new JMenuItem("Deschide", iconOpen);
            menuItem.setMnemonic(KeyEvent.VK_O);
            menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O, ActionEvent.CTRL_MASK));
              menuItem.setActionCommand("deschide");       
            menuItem.addActionListener(this);
              menu.add(menuItem);
              ImageIcon iconSave = new ImageIcon("images/save.png");
              menuItem = new JMenuItem("Salveaza", iconSave);
            menuItem.setMnemonic(KeyEvent.VK_S);
            menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, ActionEvent.CTRL_MASK));
              menuItem.setActionCommand("deschide");       
            menuItem.addActionListener(this);
              menu.add(menuItem);          
         menu.addSeparator();     
              ImageIcon iconQuit = new ImageIcon("images/quit.png");
              menuItem = new JMenuItem("Iesire", iconQuit);
            menuItem.setMnemonic(KeyEvent.VK_Q);
            menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Q, ActionEvent.CTRL_MASK));
              menuItem.setActionCommand("iesire");       
            menuItem.addActionListener(this);
              menu.add(menuItem);                    
              return menu;
         public void actionPerformed(ActionEvent e) {
             boolean status = false;
           /* if ("nou".equals(e.getActionCommand())) {
                 nou();
            if ("deschide".equals(e.getActionCommand())) {
                 status = openFile();
                   if(!status)
                        JOptionPane.showMessageDialog(
                             null,
                             "Eroare la deschiderea fisierului!", "Fisierul nu a putut fi deschis.",
                             JOptionPane.ERROR_MESSAGE
          /* if ("salveaza".equals(e.getActionCommand())) {
                 status = saveFile();
                   if(!status)
                        JOptionPane.showMessageDialog(
                             null,
                             "Eroare IO in salvarea fisierului!", "Fisierul nu a putut fi salvat.",
                             JOptionPane.ERROR_MESSAGE
            if ("iesire".equals(e.getActionCommand())) {
                 System.exit(-1);
            if ("font".equals(e.getActionCommand())) {
                 JComboBox cb = (JComboBox)e.getSource();
                 String fontName = (String)cb.getSelectedItem();
                 String t = new String(textPane.getSelectedText());
    //               t.setText("fontName");
    //             t.setFont(new java.awt.Font(fontName, 0, 12));
    //               StyledEditorKit.FontFamilyAction font = new StyledEditorKit.FontFamilyAction(fontName, fontName);
         boolean openFile() {
                JFileChooser fc = new JFileChooser();
                fc.setDialogTitle("Deschide Fisier");
                fc.setFileSelectionMode(JFileChooser.FILES_ONLY);
                fc.setCurrentDirectory(new File ("."));
                fc.setFileFilter(fJavaFilter);
                int result = fc.showOpenDialog(this);
                if(result == JFileChooser.CANCEL_OPTION) {
                     return true;
                else if(result == JFileChooser.APPROVE_OPTION) {
                     fFile = fc.getSelectedFile();
                     String file_string = readFile(fFile);
                     if(file_string != null) {
                          textPane.setText(file_string);
                     else
                          return false;
                else {
                     return false;
                return true;                                         
            public String readFile (File file) {
              StringBuffer fileBuffer;
             String fileString=null;
             String line;   
             try {
                   FileReader in = new FileReader (file);
                    BufferedReader dis = new BufferedReader (in);
                    fileBuffer = new StringBuffer () ;
                   while ((line = dis.readLine ()) != null) {
                     fileBuffer.append (line + "\n");
                    in.close ();
                    fileString = fileBuffer.toString ();
                  catch  (IOException e ) {
                    return null;
             return fileString;
    /* boolean saveFile () {
         File file = null;
         JFileChooser fc = new JFileChooser ();
         fc.setCurrentDirectory (new File ("."));
         fc.setFileFilter (fJavaFilter);
         fc.setSelectedFile (fFile);
         int result = fc.showSaveDialog (this);
         if (result == JFileChooser.CANCEL_OPTION) {
             return true;
         } else if (result == JFileChooser.APPROVE_OPTION) {
             fFile = fc.getSelectedFile ();
             if (fFile.exists ()) {
                 int response = JOptionPane.showConfirmDialog (null,
                   "Overwrite existing file?","Confirm Overwrite",
                    JOptionPane.OK_CANCEL_OPTION,
                    JOptionPane.QUESTION_MESSAGE);
                 if (response == JOptionPane.CANCEL_OPTION) return false;
             return writeFile (fFile, textPane.getText ());
         } else {
           return false;
      protected JMenu createEditMenu() {
            JMenu menu = new JMenu("Editare");
            menu.setMnemonic(KeyEvent.VK_E);
            JMenuItem menuItem;
            undoAction=new UndoAction();
            menu.add(undoAction);   
            redoAction = new RedoAction();
            menu.add(redoAction);
            menu.addSeparator();
              menu.add(getActionByName(DefaultEditorKit.cutAction));       
            menu.add(getActionByName(DefaultEditorKit.copyAction));
            menu.add(getActionByName(DefaultEditorKit.pasteAction));
            menu.addSeparator();
            menu.add(getActionByName(DefaultEditorKit.selectAllAction));
            return menu;
        //Create the style menu.
        protected JMenu createFontMenu() {
            JMenu menu = new JMenu("Font");
            menu.setMnemonic(KeyEvent.VK_F);
            JMenu subMenu = new JMenu ("Stil ");
            Action action = new StyledEditorKit.BoldAction();
            action.putValue(Action.NAME, "Bold");
            subMenu.add(action);
            action = new StyledEditorKit.ItalicAction();
            action.putValue(Action.NAME, "Italic");
            subMenu.add(action);
            action = new StyledEditorKit.UnderlineAction();
            action.putValue(Action.NAME, "Underline");
            subMenu.add(action);
              menu.add(subMenu);
            menu.addSeparator();
            JMenu subMenu2 = new JMenu ("Marime ");
            subMenu2.add(new StyledEditorKit.FontSizeAction("12", 12));
            subMenu2.add(new StyledEditorKit.FontSizeAction("14", 14));
            subMenu2.add(new StyledEditorKit.FontSizeAction("16", 16));
            subMenu2.add(new StyledEditorKit.FontSizeAction("18", 18));
            subMenu2.add(new StyledEditorKit.FontSizeAction("20", 20));
            subMenu2.add(new StyledEditorKit.FontSizeAction("22", 22));
            subMenu2.add(new StyledEditorKit.FontSizeAction("24", 24));
            subMenu2.add(new StyledEditorKit.FontSizeAction("36", 36));
            subMenu2.add(new StyledEditorKit.FontSizeAction("48", 48));
            menu.add(subMenu2);
            menu.addSeparator();
            JMenu subMenu3 = new JMenu ("Familie ");
            subMenu3.add(new StyledEditorKit.FontFamilyAction("Arial", "Arial"));
            subMenu3.add(new StyledEditorKit.FontFamilyAction("Arial Black", "Arial Black"));
            subMenu3.add(new StyledEditorKit.FontFamilyAction("Comic Sans MS", "Comic Sans MS"));
            subMenu3.add(new StyledEditorKit.FontFamilyAction("Georgia", "Georgia"));
            subMenu3.add(new StyledEditorKit.FontFamilyAction("Serif", "Serif"));
            subMenu3.add(new StyledEditorKit.FontFamilyAction("SansSerif", "SansSerif"));
            subMenu3.add(new StyledEditorKit.FontFamilyAction("Times New Roman", "Times New Roman"));
            subMenu3.add(new StyledEditorKit.FontFamilyAction("Trebuchet MS", "Trebuchet MS"));
            subMenu3.add(new StyledEditorKit.FontFamilyAction("Verdana", "Verdana"));
            menu.add(subMenu3);
            menu.addSeparator();
            JMenu subMenu4 = new JMenu ("Culoare ");
            subMenu4.add(new StyledEditorKit.ForegroundAction("Rosu", Color.red));
            subMenu4.add(new StyledEditorKit.ForegroundAction("Verde", Color.green));
            subMenu4.add(new StyledEditorKit.ForegroundAction("Albastru", Color.blue));
            subMenu4.add(new StyledEditorKit.ForegroundAction("Galben", Color.yellow));
            subMenu4.add(new StyledEditorKit.ForegroundAction("Gri", Color.gray));
            subMenu4.add(new StyledEditorKit.ForegroundAction("Gri inchis", Color.darkGray));
            subMenu4.add(new StyledEditorKit.ForegroundAction("Negru", Color.black));
            menu.add(subMenu4);
            return menu;
        protected JMenu createAjutorMenu() {
             JMenu menu = new JMenu("Ajutor");
            menu.setMnemonic(KeyEvent.VK_J);
            return menu;
        private void createActionTable(JTextComponent textComponent) {
            actions = new HashMap<Object, Action>();
            Action[] actionsArray = textComponent.getActions();
            for (int i = 0; i < actionsArray.length; i++) {
                Action a = actionsArray;
    actions.put(a.getValue(Action.NAME), a);
    private Action getActionByName(String name) {
    return actions.get(name);
    class UndoAction extends AbstractAction {
    public UndoAction() {
    super("Undo");
    setEnabled(false);
    public void actionPerformed(ActionEvent e) {
    try {
    undo.undo();
    } catch (CannotUndoException ex) {
    System.out.println("Unable to undo: " + ex);
    ex.printStackTrace();
    updateUndoState();
    redoAction.updateRedoState();
    protected void updateUndoState() {
    if (undo.canUndo()) {
    setEnabled(true);
    putValue(Action.NAME, undo.getUndoPresentationName());
    } else {
    setEnabled(false);
    putValue(Action.NAME, "Undo");
    class RedoAction extends AbstractAction {
    public RedoAction() {
    super("Redo");
    setEnabled(false);
    public void actionPerformed(ActionEvent e) {
    try {
    undo.redo();
    } catch (CannotRedoException ex) {
    System.out.println("Unable to redo: " + ex);
    ex.printStackTrace();
    updateRedoState();
    undoAction.updateUndoState();
    protected void updateRedoState() {
    if (undo.canRedo()) {
    setEnabled(true);
    putValue(Action.NAME, undo.getRedoPresentationName());
    } else {
    setEnabled(false);
    putValue(Action.NAME, "Redo");
    private static void createAndShowGUI() {
    final TextComponentDemo frame = new TextComponentDemo();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    UIManager.put("swing.boldMetal", Boolean.FALSE);
         createAndShowGUI();
    class JavaFilter extends javax.swing.filechooser.FileFilter
    public boolean accept (File f) {
    return f.getName ().toLowerCase ().endsWith (".txt")
    || f.isDirectory ();
    public String getDescription () {
    return "Fisiere text (*.txt)";

    Hi,
    unfortunatly you cannot change the properties of Action object as you would do with JavaBeans. Instead you have to use the 'put' method.
    eg.:
    myAction.put(Action.SMALL_ICON, new ImageIcon(...));IMHO this was a bad decision, because it's not like the JavaBeans standard and you loose static type information. :-/
    -Puce
    Message was edited by:
    Puce

  • Insertion of icons into JTextPane

    Hello!
    I am trying to insert icons into JTextPane object, and I got a problem.
    My partial code is as follows...
    StyleConstants.setIcon(s, icnIcons);
    doc.insertString(doc.getLength(), "I", doc.getStyle("icon"));
    doc.insertString(doc.getLength(), "I", doc.getStyle("icon"));
    In the above code, s is an object of Style, and icnIcons is an object of ImageIcon, and doc is an object of StyledDocument.
    And the style, s, is registered with a name, "icon".
    If I execute the above code, then only one icon is displayed. But the length of the text is increased by 2.(I check this using doc.getLength() method.)
    So, I make a little change to the above code like the following:
    StyleConstants.setIcon(s, icnIcons);
    doc.insertString(doc.getLength(), "I\n", doc.getStyle("icon")); //changed
    doc.insertString(doc.getLength(), "I", doc.getStyle("icon"));
    I just add "\n". And the second code is working, and displays two icons.
    But the two icons are on the separate line.
    And if I use two different icons, that is, two different styles, in the first code segment, then it works and shows the two icons on the same line, though I didn't use the "\n".
    Why does this happen?
    I am so confused. Please help me.
    Thanks for every body!
    Regards

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import javax.swing.text.*;
    public class IconPane {
        private void showTest(BufferedImage[] images) throws IOException {
            JTextPane textPane = new JTextPane();
            // Add some content.
            File file = new File("IconPane.java");
            BufferedReader br = new BufferedReader(
                                new InputStreamReader(
                                new FileInputStream(file)));
            textPane.read(br, file);
            br.close();
            // Make up a couple of styles.
            int pos1 = 875, pos2 = 876;
            StyledDocument doc = textPane.getStyledDocument();
            Style style = textPane.addStyle("icon1", null);
            StyleConstants.setIcon(style, new ImageIcon(images[0]));
            // Set  icons.
            doc.setCharacterAttributes(pos1, 1, style, false);
            style = textPane.addStyle("icon2", null);
            StyleConstants.setIcon(style, new ImageIcon(images[1]));
            doc.setCharacterAttributes(pos2, 1, style, false);
            // Add the icons again with the insertString method.
            addContent(doc);
            // Show me.
            JScrollPane scrollPane = new JScrollPane(textPane);
            scrollPane.setPreferredSize(new Dimension(500,400));
            textPane.addMouseMotionListener(mouseInput);
            JOptionPane.showMessageDialog(null, scrollPane, "",
                                          JOptionPane.PLAIN_MESSAGE);
        private void addContent(StyledDocument doc) {
            int pos1 = 1667, pos2 = 1669;
            try {
                // Try inserting icons with insertString.
                doc.insertString(pos1, " ", doc.getStyle("icon1"));
                doc.insertString(pos2, " ", doc.getStyle("icon2"));
            } catch(BadLocationException e) {
                System.out.printf("bad location error: %s%n", e.getMessage());
        public static void main(String[] args) throws IOException {
            String[] ids = { "--g--", "---h-" };
            BufferedImage[] images = new BufferedImage[ids.length];
            for(int j = 0; j < images.length; j++)
                images[j] = ImageIO.read(new File("images/geek" + ids[j] + ".gif"));
            new IconPane().showTest(images);
        private MouseMotionAdapter mouseInput = new MouseMotionAdapter() {
            public void mouseMoved(MouseEvent e) {
                int pos = ((JTextComponent)e.getSource()).viewToModel(e.getPoint());
                System.out.println(String.valueOf(pos));
    }

  • Inserting Icons in JTextPane with setEditable=false

    Aloha!
    I'm working on this for years now, but i haven't found an acceptable solution yet.
    The problem: I have a JTextPane, where the user shall not be able to edit anything by clicking onto the JTextPane. So I have to setEditable=false. Now I want to insert an icon with insertIcon and therefore i have to setEditable = true. But for short time it's now possible for the user to click onto the screen and change the caretPosition, which must be prevented at all costs (because I'm working with the expected caretPosition of course)! This only happens when I try the brute force testing method, but it happens sometimes...
    So can someone give me a better solution than:
    setEditable = true;
    insertIcon(blahblah);
    setEditable = false;
    Thanks a lot for your attention,
    Holm

    To use HTML, you must use javax.swing.text.html.HTMLDocument instead of StyledDocument,
    Instead of StyleConstants, you must use javax.swing.text.html.HTML$Tag and javax.swing.text.html.HTML$Attribute.
    And you can use an HTMLEditorKit instead of DefaultEditorKit.
    this is an example of initialization:
    javax.swing.text.html.HTMLEditorKit htmlEditorKit = new javax.swing.text.html.HTMLEditorKit();
    javax.swing.text.html.HTMLDocument htmlDoc = (javax.swing.text.html.HTMLDocument)htmlEditorKit.createDefaultDocument();
    yourJTextPane.setEditorKit(htmlEditorKit);
    yourJTextPane.setDocument(htmlDoc);
    yourJTextPane.setEditable(true);
    yourJTextPane.setContentType("text/html");and you can use it by yourJTextPane.setText(HtmlCodeString)
    HTMLDocument and HTMLEditorKit allow you main modifications.
    thanks for duke dollars :)

  • Cannot place order ERROR: "There was a problem adding your product to cart"

    Hey guys,
    Well, once again Best Buy's online system is preventing me from making an order. It seems like nearly every time I log in I experience some new problem. This time, I'm unable to add anything to my cart. It doesn't matter what item I try to add to my cart or what browser I use or if I clear cookies...it happens every time, on every browser, with every product in the store. The error shows a red & white triangle with a message "There was a problem adding your product to cart".
    Just to clarify ahead of time: 1) I have already tried signing in using 4 different browsers (explorer, firefox, chrome, opera) & they all give the same error; 2) Prior to posting here I researched this problem & found out it is somewhat common & has been occurring since at least 2012 on BestBuy.com; 3) Every time someone posts in here about this problem, customer service offers the same "fix" every time - to sign out, clear their browser cache of cookies, shut down the browser, restart the browser, sign back in, etc.... The only problem is, this "solution" has not worked ONE time our of the many times this problem has cropped up in here over the past 3+ years. Why this "solution" keeps getting told to people even though it never works is beyond me. But, there you have it.
    Just to clarify: I have already tried this solution, And just like with everyone else before me, it didn't work for me either. So, what's the next step? There must be something else that can be done other than waiting a couple more days for it to magically fix itself (it seems that is the only thing that ever "works"...is to let several days go by and the problem ends up getting fixed in some back-end server-side patch up). 
    What I'm hoping for from you is a solution that can fix this immediately. This problem has already prevented me from making a couple purchases for items that were temporarily on sale over the past couple days. So, those are lost sales for Best Buy. What I'm hoping to do now is pre-order the Elder Scrolls Online (PS4) in order to take advantage of the $10 pre-order reward. The game releases on Tuesday the 9th. So, in order to get this done in time I need to place the order sometime today (on the 8th).
    With all these repeated technical problems making purchasing a chore & wasting my time every single time I want to buy a product it's almost as if Best Buy is telling customers "We don't care if our online system works reliably...go spend your money at Amazon instead". lol
    Thank you in advance for your timely help on this matter.
    -Marc (removed per forum guidelines)

    Hello mjswooosh,
    I'm very disheartened to hear that you've had ongoing problems when attempting to order from BestBuy.com. Our goal is ever to provide a fun and efficient shopping environment! Certainly creating aggravation serves neither you nor us and I apologize sincerely for this having been your experience.
    We recommend the troubleshooting steps you mentioned (i.e., clearing the browser cache, deleting temporary internet files and cookies) because this is the most common cause of this type of problem. I too have encountered this issue from time to time and these steps have almost always resolved the problem. I say almost always because there's one further step you can try: ensure that you have signed out of BestBuy.com, then perform the browser maintenance steps we've recommended. Afterward, before signing in to BestBuy.com, add your desired items to your cart and sign in as part of the checkout process. When the standard steps have not netted a resolution for me, this has solved the problem each time.
    I hope this helps. I'm very grateful that you took the time to write to us with your concerns and for sharing your very valuable feedback about your online experience.
    Sincerely,
    John|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Problem adding HP J6400 all-in-one printer

    We have an HP Officejet J6400 all-in-one printer here at work, and all of our computers have had no problem adding this printer except one: an older iMac, PowerMac 6.1 (with the white domed base). The driver is installed, and the computer sees the driver, but when I click to add it eventually it gives me this error:
    "An error occurred while trying to add the selected printer. client-error-not-authorized"
    I was on the phone with HP for an hour and they couldn't figure it out on their end. Has anyone had a similar problem, or have a solution?

    Hi,
    I request you to try the following:
    For network connection:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03086294&tmp_task=useCategory&cc=us&dlc=en&lc=e...
     For USB:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03521864&tmp_task=useCategory&cc=us&dlc=en&lc=e...
    Although I am an HP employee, I am speaking for myself and not for HP.
    Say thanks by clicking the "
    Kudos! Thumps Up" which is on the right
    Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue
    Regards,
    Ray

  • I upgraded to Mountain from Snow and find that there is now a problem adding iphoto to the cloud.  I have iphoto '08,version 7.1.5.  Tried to follow one poster's advice and upgrade to 9.1 but I need 9.0 first and I can't find that.  suggestions? thanks!

    I upgraded to Mountain from Snow and find that there is now a problem adding iphoto to the cloud.  I have iphoto '08,version 7.1.5.  Tried to follow one poster's advice and upgrade to 9.1 but I need 9.0 first and I can't find that.  suggestions? thanks!

    You have to buy iPhoto from the Mac App Store.

  • Issue / problem adding audio in Presenter 7 (PowerPoint 2010)

    Since I got a new PC (Windows 7), I'm having an issue / problem adding audio in Presenter 7 (PowerPoint 2010).
    It doesn’t happen every time, but randomly with many presentations...
    In PowerPoint, right after I import audio (through Presenter) and click “ok”, I get the following errors:
    Then, I can't get into the "import/sync/edit" mode, from the Presenter tab...
    Already tried reinstalling Presenter, resaving new presentations, deleting the .ppcx/audio folders, importing the audio locally (vs from my network drive), etc.
    Then sometimes, randomly, it will let me get back in and edit the audio, after numerous attempts…?!? I can't figure out what the pattern is, which is causing this new problem (never had this problem before, w/ my old PC - Win XP / PowerPoint 2003 / Presenter 6 & 7)
    Anybody have an idea what the issue could be?
    Thanks,
    Mike P.

    Hello,
    I  tried to reproduce this issue but I am not getting any error message. Please provide us following information; this might help to reproduce this issue:-
    1) You are seeing this issue in  PPT or PPTX
    2) You seeing this issue in newly created presentations or its just old presentation which is not working properly.
    3) OS and PowerPoint version
    4) If this issue is consistent on any particular presentation then please share it.
    5) Can we have exact reproducible steps
    Regards,
    Shubhi

  • All new podcasts blank - There was a problem adding "" to iTunes.

    All new podcast episodes have a blank name, but the description is there. Clicking the exclamation point next to it yields - There was a problem adding "" to itunes.
    This is not just my old subscriptions but new ones as well. The episode actually downloads completely but does not get added to my library.
    Anybody have a suggestion how to resolve this?

    After days of no solution, as soon as I post it decides to resolve this by itself.

  • Problem adding elements to a group after removing everything...

    Hi everyone,
    I would really appreciate some help on something. I have a Group that has some Buttons in it. This Group is in one of fours States, and there is a componant for each State. After the user goes through the rest of the program and comes back to this State, I want to remove the old buttons, and add new buttons with new values. Bascially, I want to refresh the componant when it is visited a second time. I have a problem adding new Buttons to the group when the user revisits the componant / state.
    The group is created:
              <s:VGroup id="buttons"  x="0" y="35"  height="400" width="280" />
    When the init function for that componant is called, buttons are added from an array of buttons:
    for(var i:int = 0; i < 10; i++){
              var button:Button = questions[i];
              trace(button);
              button.addEventListener(MouseEvent.CLICK, myEventHandler);
              trace(buttons);
              buttons.addElement(button);
    When the user moves on to the next State, the buttons are removed:
    if(counter == 4){
              buttons.removeAllElements();
              FlexGlobals.topLevelApplication.currentState = 'Summary';
    When the user comes back to the initial state, the buttons are not added to the Group like they are the first time. The output of the trace as each button is added is also different the second time:
    First time: (successful)
    Main.MainBackground2.contentGroup.gameComp.buttons
    button8
    Second time:
    buttons
    button8
    Can anyone point me in the right direction? And better question, is there a better way I should be doing this?
    Is there a better way to refresh everything within a component upon viewing it s second time?
    Thanks in advance!

    I'm not sure why you are using addElement() to add the buttons. Aren't you supposed to let the state functionality handle when the buttons should be visible? That's the cleanest way to do it in most cases. You may want to post a larger code sample, where you have boiled down the code into a minimal sample that still enhibits the issue.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex Training and Support Services

  • [svn:osmf:] 10017: Adding a style sheet, adding a backdrop to the examples list, adding icons to play and pause icons.

    Revision: 10017
    Author:   [email protected]
    Date:     2009-09-04 06:43:44 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Adding a style sheet, adding a backdrop to the examples list, adding icons to play and pause icons. Setting theme color to red.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer.mxml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/openvideoplayer/view/MainWindowLayout .mxml
    Added Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/ExamplePlayer.css
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/assets.swf

    Revision: 10017
    Author:   [email protected]
    Date:     2009-09-04 06:43:44 -0700 (Fri, 04 Sep 2009)
    Log Message:
    Adding a style sheet, adding a backdrop to the examples list, adding icons to play and pause icons. Setting theme color to red.
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer.mxml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/openvideoplayer/view/MainWindowLayout .mxml
    Added Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/ExamplePlayer.css
        osmf/trunk/apps/samples/framework/ExamplePlayer/assets/assets.swf

  • Problem adding Video to Captivate Slide

    Hi,
    I'm having a problem adding an FLV video file to Captivate. Basically, after I've published to a SWF file, the video doesn't appear on the slide at all. It's just blank.
    After researching a bit, I found that the FLV file MUST include *metadata*.
    However, I added medatada with VLC Media Player, and it still shows the same behavior. Must it include a certain *amount* of metadata? Is there a *type* of metadata without which the video will not show?
    Adobe's Help thread talks about something called the "Flash Video Kit" - is that a stand alone product or an extension of another product? Is it free? Are there any other free alternatives?
    I'm just very confused.
    Thank you!

    I ended up answering my own question. But just in case this helps anyone else, I'm going to post my solution.
    Essentially, I just re-created the video in MP4 format. Then I used MetaZ (for Mac) to write Meta Data to the video. Lastly, I imported the video as an object and when I published the video, Captivate transmuted it to the necessary FLV format.
    Now the video displays properly.

  • Problem adding interaction in CS 5.5 trial

    Hi,
    I have installed (twice) the Flash Catalyst 5.5 trial and still can not resolve this problem: after selecting a component (and with at least two states/pages) the
    "Add Interaction" button in the INTERACTIONS panel does not populate any options in the CHOOSE STATE drop down menu. I can't point to any states.
    Is this a bug (in the TRIAL) or am I missing something that needs to happen first?
    Viro
    PS: I'd be surprised if this basic work flow has changed (it's so straight forward in CS 5) , and I haven't seen anything in the current documentation, either in the help or on adobe TV tutorials that contradict this procedure.

    Thanks to another poster and the answer below I have figured out that the problem was in fact of my own making. Another case of RTFM!
    I still don't understand why this implementation was made, although I'm sure it extends the functionality of this application. Anybody?
    5. May 27, 2011 12:08 PM
    Re: Problems adding Interaction to button
    In Flash Catalyst 5.5, you need to change the Choose Target menu to Application, then the next drop down list will populate with the State names, select the state that you want, and click OK. You can control when this happens further by using the When in Any State menu. That menu will allow you automatically restrict which state it works in.
    Hope this helps
    Chris

  • Problems adding Bridge Data to prepaid (Allset) iPhone5

    Anyone having problems trying to add bridge data to a prepaid (Allset) phone. I've tried to add 3GB to my iPhone 5 all day today and I've had no success. I've tried doing through (1) the new My Verizon Mobile App, (2) dialing *611 and following the prompts and (3) on my PC while logged into my "My Verizon" account. All three methods result in a "system error" and I can't add any bridge data. The only thing that worked, was it allowed me to put $25 on account by charging my credit card. So now I've been taken for $25 and can't do anything with the money on now have in my account. A call to customer service was a complete waste of time. The CSR told me to do the *228 Activation code on my 4G LTE iPhone 5. I'm not a CSR and I know you don't use *228 on an a 4G iPhone! After wasting 30 minutes and being told my SIM card "had to age" (very creative), I got tired of the snow job and hung up. Is anyone else having problems adding bridge data? Please advise if you have succeeded in adding bridge data today.

    Why have a Prepaid forum that is not monitored by CSR's who can actually do something about the issues posted by Prepaid customers? I'm not looking for a "sorry to hear about your problem" reply, I'm looking for answers/solutions. 
    What a ridiculous arrangement. This Prepaid sub-forum should be deleted so customers don't waste their time posting problems here.
    Sent from my iPad

  • Problems adding an image title?

    Hi,
    When I place an image in Muse I'm having problems adding an image title. When I Control click the image in Design view the choices I get at the bottom of the pop up menu are
    Edit original
    Edit Image Properties
    When I looked it up in help it tells me I should also see another item "Add Title" but I don't get that as a choice. When I click on "Edit Image Properties" I get a choice of Tooltips or Alt Text but no place for a title.
    Thanks,
    Bill

    This is the page
    http://www.adobekb.com/strategies_for_seo.html#addingmetadata
    To be clear when I right click on an image I only get the choice of "Edit Original" & "Edit Image Properties". When I click on "Edit Image Properties" I only get a choice of Tooltips or Alt Text, nothing for title
    Thanks,
    Bill
    Adding titles and alternative text to images
    After you place images on a page, you can access the Image Properties dialog box to set both a title and alternative text (also sometimes called alt text) that is assigned to the image.
    Here's a brief description of each property:
    Title: In many browsers, the title is displayed in addition to the image, typically as a tooltip that appears when a cursor hovers over it.
    Alternate text: If the image file cannot be shown, this text is displayed in place of the image. Alternate text is also used to describe images to visually impaired visitors using assistive technologies to access page content.
    It is ideal to set titles and alternative text for every site asset, to ensure that visitors have the best experience when navigating your site. Tooltips are helpful for including additional information about graphics and alternative text makes pages more accessible for screen readers that verbally present graphic content.
    To add titles and alternative text, follow these steps:
    1. Select a placed image.
    2. Right-click on the image and select Add Title or Add Alternative Text from the context menu that appears (see Figure 3).

Maybe you are looking for

  • Not getting the Connect to join the shared review notice in Adobe Reader 9

    I click on my e-mail and entering Shared review but I am not getting the Adobe Acrobat Shared Review Window that asks me to click to connect to join the Shared Review

  • Problems with patch 10.2.0.3 installation

    Hi all, I´m trying to apply the patch set 10.2.0.3. I've stoped all services, but during the installation, a file msvcr71.dll may be in use. What file is this? What other service can I stop to continue? thanks!!!

  • Re: NFC?

    I have a Nokia 808 PureView, but my nfc is not working. It doesnt work with the test card or with other devices...

  • What should be the strategy to going to Windows 10?

    Dear Win10 community, Next year could be a great year for my client, we are involving an important transition that will affect systems and devices. One important strategy is move to Windows 10 from PC, Tablet, Mobile to Mobile rugged devices. My clie

  • I web for business

    Help, I have a small business and am looking for a program to host my website to. I am a complete novice, I have iweb and I find it very easy but it never seems to work. I post things and they are rarely what I actual post, some photos are blurry, so