Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6276573

The ClipboardService Security warning dialog doesn't have the dialog title

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • deploy
    • None
    • b42
    • generic
    • generic

      Build: PIT B39

      1. Launch the notepad demo from java.sun.com.
      2. Type some messages in the notepad and try to do that Cut & Paste. The warning dialog will get displayed with out the title.

      The reason for the bug is "api.clipboard.title" key got missed in the resource file.

      Exception from Trace file:

      java.util.MissingResourceException: Can't find resource for bundle com.sun.deploy.resources.Deployment, key api.clipboard.title
      at java.util.ResourceBundle.getObject(Unknown Source)
      at java.util.ResourceBundle.getString(Unknown Source)
      at com.sun.deploy.resources.ResourceManager.getString(Unknown Source)
      at com.sun.jnlp.ClipboardServiceImpl.askUser(Unknown Source)
      at com.sun.jnlp.ClipboardServiceImpl.setContents(Unknown Source)
      at Notepad$NotepadTextArea.copy(Notepad.java:946)
      at javax.swing.text.DefaultEditorKit$CopyAction.actionPerformed(Unknown Source)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.AbstractButton.doClick(Unknown Source)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at org.netbeans.jemmy.drivers.input.EventDriver$Dispatcher.launch(Unknown Source)
      at org.netbeans.jemmy.QueueTool$QueueAction.run(Unknown Source)
      at java.awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      ###@###.### 2005-05-26 14:55:55 GMT
      ###@###.### 2005-05-26 15:10:37 GMT

            herrick Andy Herrick (Inactive)
            esubramasunw Elancheran Subramanian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: