Can't Copy text unless console is opened before applet with JTextField

If an applet uses JTextFields, it is impossible to copy text from the console to the clipboard (or anywhere else) if the console is opened after the applet.
See http://demo.capmon.dk/~pvm/nocopy/nocopy.html for a working applet with source and class file to try it out on...
So if something bad has happened, and there are hints in the console e.g. a stack trace, it all has to be retyped by hand, since all Copy or export is impossible...
Does anyone know of a workaround for this? I'd like to be able to e.g. copy stack traces to bug reports.
Try these test cases:
* Close all browser windows. Open a browser and visit this page. After the page with this applet has loaded, then open the console with "Tools/Sun Java Console" (or "Tools/Web Development/Java Console" in Mozilla). Select some text in the console. There is no way to put this text on the clipboard; the "Copy" button doesn't work, and neither does CTRL+Insert, CTRL+C or anything else.
* Close all browser windows. Open a browser window no some non-java page and then open the console with "Tools/Sun Java Console" (or "Tools/Web Development/Java Console" in Mozilla). Then visit this page. Select some text in the console. Now the "Copy" button does work, enabling "export" of e.g. stack traces to other applicaitons e.g. email.
The difference is which is opened first: The console or the applet. If you look at the very rudimentary Java source code, it is the mere creation of a JTextField is what disables or breaks the Copy functionality.
I've tried this on Windows XP with IE 6.0 and Mozilla 1.3 and they behave exactly the same. The JVM is Sun's 1.4.2 and I've tried 1.4.1_02 also with the same behavior. I've also tried javac from both 1.4.2 and 1.4.1_01

hey .. this seems like a bug.. can you please file a bug at
http://java.sun.com/webapps/bugreport
thanks...

Similar Messages

  • Can't copy text in a preview-document opened in Safari.

    Since the last upgrade of safari (I think) I can't copy text in a preview document opened in Safari. Can I adjust anything in the preferences or is there any other solution to get the normal behaviour back?

    Quit Safari.
    Open the Library folder in your home folder as follows:
    ☞ If running Mac OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of Mac OS X, select Go ▹ Go to Folder… from the Finder menu bar and enter “~/Library” (without the quotes) in the text box that opens.
    Delete the following items from the Library folder:
    Caches/com.apple.Safari/Cache.db
    Preferences/com.apple.quicktime.plugin.preferences.plist
    Preferences/QuickTime Preferences
    Relaunch Safari and test.

  • How can I copy text&image from a website to Apple Pages at once?

    I'm using Apple Pages 9.1, I can't copy text and images to pages at once. When I paste the copy contents to it, it just only shows text. With Safari, this functionality seems normal. I could copy and paste what I want to the pages.
    What can I do now? I don't want to open Safari just only to copy and quit it after that. :D

    Does it matter how widely you select? Firefox may be somewhat stingier in what it includes in a selection than other browsers. For example, I suspect you would have better results if you select the entire page and copy and paste it compared with a section of the page. But that's just a guess, I've never used Pages (or any of iWork).

  • I can't copy text from safari

    I can't copy text from text page from safari.
    Copy seems copy, but paste, will paste the old text in tre buffer.
    Same problem in iphone4s and ipad2
    iOS 5.1

    Hi Carolyn,
    Thanks for your advice... My overall iPad performance is much mor "snappy" but here is what I get with a paste to this message:iPad 2 User Guide (For iOS 4.3 Software)
    Touch and hold the link. You can open the link in Safari or copy the link address to the clipboard .
    http://manuals.info.apple.com/en_US/ipad_2_user_guide.pdf
    And this was not what I was most recently copied to my clipboard while using Safari! Befor trying this copy/paste I even cleared Safari cookies and cache! Any other ideas would be appreciated.

  • How can I copy text from one card to another while creating cards using Iphoto?

    I created two cards with different pictures using Iphoto on Macnotebook. 
    I want to use the same text message.
    How can I copy text from one card to another?

    select the text and copy (edit menu ==> copy) tehn gpo to the next card and paste
    LN

  • How do i disable copy and paste so a reader can not copy text from my pdf document?

    how do i disable copy and paste so a reader can not copy text from my pdf document? i have gone into my security preferences but can not find out how to change the settings so i can disable the copying option.

    See http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-protect-p df-file-with-permissions-tutorial-ue.pdf

  • Can't Copy Text From PDF Within Gmail Preview

    Hi,
    If I click on a pdf attachment while inside gmail, I get the expected preview window of that PDF. However, I can't copy text from it. If I press Command-C, it just makes a beeping noise letting me know nothing is being copied. If I select text and right-click, there's no 'copy' option. Also, in the top toolbar, Copy is greyed out in the Edit menu. However, if I just hold down Command-C for a couple seconds the text will copy anyways (while hearing a dozen audible beeps). I can copy text without issue using Firefox from the same PDF attachment preview inside Gmail.
    Thanks for any help.
    Yosemite 10.10.1
    Safari Version 8.0 (10600.1.25.1)

    Having same issue as well. I've had this problem pre-Yosemite and it seems to be Safari related. Copy to clipboard in Gmail preview works fine in Chrome & Firefox, just not Safari. As you indicated if you hold ctrl-c long enough it will eventually copy, just forces you to listen to the series of annoying bongs.
    Also there's no copy to clipboard in the context menu as illustrated below:
    http://i.imgur.com/adyyJO4.png
    Pretty annoying really, I'm not about to download a dozen attached PDFs to copy to clipboard, so now I'm sitting in the Delta lounge with my laptop bonging away as I wait for Safari to copy to clipboard and everyone looks at me like I'm a moron.
    NOTE: No I do not have acrobat or any other software loaded besides vanilla Safari. This has gone on on my MBP, Mac Pro and now this brand new MBP I got Monday as a company upgrade, it literally has nothing installed on it at the moment.

  • How can i copy text from web link title in safari

    Hi. How can i copy text to clipboard from web link title in safari in ios 7? Thank you
    Like this:
    http://photouploads.com/images/01wkw.jpg

    Once you have selected text, there will be blue circular buttons on the corners. Get the ones on the end and move them in towards the text that you want to copy. The problem that you seem to be facing where you are is that this text is a hyperlink. Because of that reason, you will have a difficult time tapping on the text without activating the link. I'm not sure you will be able to do that.

  • How can I copy text in Adobe Digital Editions?

    How can I copy text in Adobe Digital Editions for an eBook that I have purchased?

    Adobe apps can be reset to their factory defaults by using Ctrl+Alt+Shift, not Del. The rest doesn't really make any sense since you did not provide any details and authorizations can't be changed that way, anyway. If you want to transfer books to other devices you need to contact the vendors to release the DRM/ provide a new download and if you want to change the registered ID, you need to contact support or create a completely new account, which in turn will require you to buy your DRM managed books again/ get a new download as well.
    Mylenium

  • Can I copy text in flash rich environments?

    Can I copy text in 'adobe flash' dependent environments?

    Hi Arne,
    What I meant to say was:
    Yes, it certainly is.
    If you're interested, contact me at admin  freelancebookdesign.com
    -- I have one ready that I can sell.
    Or someone here might be able to write it for you for free. It's fairly
    straightforward.

  • How can I copy a iPhoto album onto a flashdrive along with the photo information?

    How can i copy an iPhoto album to a flashdrive along with photo information, in order to send it to a friend please?

    File -> Export. In the resulting dialogue you can choose to export the Original. Or, if you choose to export a Jpeg you can get the edited version. Check the boxes at 'Keywords and Descriptions' and 'Places Information' and you'll get the metadata, if that's what you mean by "photo information"
    Regards
    TD

  • Can not copy text from AI CC or AI6 in to the file name

    I have an AI file with 80+ UPC codes that I need to separate in to individual files. Each UPC has a descriptor but when I copy the text and then try to paste it as file name it will not paste. I use this same process regularly in InDesign when I design print ads. Each print ad has a unique item number that prints with the copyright line so I simply copy and paste that information when I do the save.
    Under File Handling and Clipboard both PDF and AICB are on. I've tried this in AICC and AICS6. I also tried different files. Same issue. Any suggestions? I really don't want to have to type 80 some descriptions which are very lengthy. 

    I can not copy the text from Illustrator in to any OS X application/function (filename, Mail, Text Edit, ect). I can copy in to InDesign, Photoshop, Flash, and other other Adobe product. I can copy in to Word as well. I guess my work around will be Word.
    And the opposite is true. I can copy text from any other Adobe application to any OS X application/function with no issues.
    I guess my work around will be to OCR the text from Acrobat and open in Word. The descriptors have to be 100% accurate and some of them are pretty long.

  • How can i copy text from a pdf while in firefox?

    i no longer seem to be able to highlight and copy text from a pdf, while in firefox 33.0, using adobe to view pdfs.
    how do i turn on the select tool, so i can do this?

    When viewing a PDF with a browser you are using a browse add-on (Adobe's, Firefox's, or some other provider).
    An add-on is not the desktop application; add-ons do not provide the full functionality of the desktop application (Reader or Acrobat).
    To have full use of all Comment and Drawing Markup tools save the PDF to the local machine's HDD.
    Launch Adobe Reader XI (pre-XI releases do not have the full set of these tools).
    Open the PDF. Annotate as desired.
    Be well...

  • Can't copy text or images from webpages and paste into word documents or notepad

    Today suddenly I cannot copy text or images from webpages (I tried many different ones) and paste into my word 2010 document or notepad. What can I do to get this ability back. Yesterday it worked fine. It does not appear to be a problem with word or notepad so I have to assume it is a problem with Firefox

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • How can I copy text from PDF and include the source filename in the pasted selection?

    I'm a biologist and frequently cut-and-paste notes from PDFs of scientific articles.  I name all of the PDF articles with their PubMed ID, a short unique identifier (e.g. 19397482.pdf).  When I take notes, I will select a few sentences from the PDF and then paste them into a text editor for later reference. 
    Can anyone suggest a method or script that would allow me to paste the copied text with the Pubmed filename included in a single action?  I would want the pasted output it to look something like this, with the filename appended to the end:
    Of the transcripts that were significantly different, there was a greater number of transcripts that were down-regulated in the IVC embryos (380) than the number of transcripts that were up-regulated (208).  [20668257.pdf]
    This would really help me to properly cite information sources during the writing process.  I know there are bibliography managers that might be able to do something like this, but I prefer to read the PDF articles directly in Preview and select the text as I am reading. 
    Thanks very much for any suggestions / ideas.
    jjw

    To copy and paste in a single action:
    tell application "Preview" to activate
    tell application "System Events" to tell process "Preview"
        -- Get the PubMed ID:
        get the title of the front window
        set thePubMedID to word 1 of result
        -- Copy the selected text to the clipboard:
        keystroke "c" using {command down} -- ⌘C
        delay 0.25 -- adjust if necessary
        -- Add the PubMed ID to the contents of the clipboard:
        set theNotes to the clipboard
        set the clipboard to (theNotes & space & "[" & thePubMedID & ".pdf]")
    end tell
    tell application "Notational Velocity" to activate
    tell application "System Events"
        -- Paste the contents of the clipboard to the end of the Notational Velocity document
        key code 125 using command down -- ⌘↓
        keystroke return & return
        keystroke "v" using {command down} -- ⌘V
    end tell

Maybe you are looking for

  • How to remove quotations marks  from csv file

    Hi My input file is a .csv file which contains each value in quotation marks ex: - "123456778","jakob","grade10" Also each record in the input file contains 333 values . i am reading these records and using stringtokenizer to fetch value by value for

  • Error message I receive when trying to install Quicktime 7.3...

    I keep receiving this error message when trying to install Quicktime 7.3. I have removed anything Apple or QuickTime from Add/Remove, but at the end of the installation I keep getting this error mesage: "The older version of QuickTime could not be re

  • Lisence Question regarding our Flash Builder Lisence

    Our company uses Flash Builder with the following key: 1424-4000-.... We do not know how many lisences we have and how we could get flash builder version 4.7? Do we have to pay extra for that also when we bought a lisence in 2010`? KR Markus Stechele

  • Movie Sync Issue on iPhone5, iOS6

    I am new to the Apple Support Communities and first of all I want to say hello to everybody. But I have a huge problem with syncing HD movies to my device. Background: I have a small Bluray collection, which I copied to my HDD to convert them using H

  • Cannot open XML file with Excel2010 but was able with Excel2007

    Hi, We have crated couple of dashboard on BW query by using XML Map(BSP Link) previously with Excel 2007. Just recently we have migrated from MS 2007 to MS 2010 for some other technical purpose(Ex: - Power Pivote). Now when I am trying to add BSP lin