This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 8819 - selected line in output window does not copy to clipboard
Summary: selected line in output window does not copy to clipboard
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 minor (vote)
Assignee: anovak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-07 21:49 UTC by pnorth01
Modified: 2008-12-23 11:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pnorth01 2000-12-07 21:49:14 UTC
For example:

 My application outputs 5 lines to the output console (System.out).  When I go
to Program Output and select a line (not the first line) (because I cant select
specific characters, but I wont go into that) right click and select Copy to
Clipboard, only the first line in the output window (which is *not* selected)
is copied.
Comment 1 Robert Dankanin 2000-12-08 06:55:59 UTC
please - can you specify build number of IDE? (shown on main window panel) and
also jdk version?

I have tried that on FFJ 1.0 (build 502) with JDK 1.2.2 on win2000 and it works
correctly for me:
- means if I clicked in Output window - let say 3rd line with right mouse
button, chose "Copy to Clipboard" ... it has copied the whole output (I have
tried PASTE in notepad).
You can attach some simple example which which swhows your problem ... so I
could reproduce it better. I can test it also on NT platform if necessary.
Comment 2 pnorth01 2000-12-08 16:19:59 UTC
its FFJ 1.0 (Build 849)
java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Comment 3 pnorth01 2000-12-08 20:22:59 UTC
Ok, I see what you mean... for example, the output window contains this:
java.lang.NoClassDefFoundError: EQFileParser (wrong name:
EQ_Mapper/EQFileParser)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:111)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
Exception in thread "main"

ok, well, If I select any line at all, I get:
java.lang.NoClassDefFoundError: EQFileParser (wrong name:
EQ_Mapper/EQFileParser)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:111)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

when what i really wanted (for example) was the 'exception in thread "main"'
line.  Note that that line was not put onto the clipboard even though it was
the one highlighted and right-clicked on.
Comment 4 Jan Zajicek 2001-01-17 15:35:59 UTC
The bug is that when the last line is not ended by a new line it is not copied.
Comment 5 anovak 2001-01-17 15:39:59 UTC
Fixed in main trunk.
Comment 6 Marian Mirilovic 2002-04-18 15:52:45 UTC
It works fine now,
verified in [nb 3.3]
Comment 7 Quality Engineering 2003-07-01 16:12:33 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.