Cut/Paste Bug

R

Roedy Green

With the Opera browser 7.51, in an Applet, you can't copy/paste to a
JTextField.

I thought this was a Swing restriction, but I just tested and
discovered that IE, Firefox and Mozilla all work.

Test this with http://mindprod.com/password.html

Try copy/pasting the result.

The field in question is a JTextField with setEditable( false );
 
T

Tor Iver Wilhelmsen

Roedy Green said:
I thought this was a Swing restriction, but I just tested and
discovered that IE, Firefox and Mozilla all work.

Test this with http://mindprod.com/password.html

Tried it, couldn't get ctrl+c to work in neither Opera 7.51 (using
1.4.1_01) nor IE 6.01 (1.4.1_06). I see you state need for 1.4.2_05 -
is there a fix the ctrl+c relies on?
 
R

Roedy Green

Tried it, couldn't get ctrl+c to work in neither Opera 7.51 (using
1.4.1_01) nor IE 6.01 (1.4.1_06). I see you state need for 1.4.2_05 -
is there a fix the ctrl+c relies on?

I was getting inconsistent results. I think the problem may have to
do with Clipmate getting disconnected.


IE 6.0.2800 works.

Opera 7.52, hot off the press, does not work.

Mozilla 1.8a2 works.

Firefox 0.9.1 works, but only when run from web, not locally.
 
A

Andrew Thompson

I was getting inconsistent results. I think the problem may have to
do with Clipmate getting disconnected.

I suspect it is more complicated than that..

Java 1.5/Win XP
IE 6.00.2600 Ctrl^a YES Ctrl^c NO
Moz. 1.3 Ctrl^a YES Ctrl^c NO

Could not copy from either..
 
T

Tony Morris

Roedy Green said:
With the Opera browser 7.51, in an Applet, you can't copy/paste to a
JTextField.

I thought this was a Swing restriction, but I just tested and
discovered that IE, Firefox and Mozilla all work.

Test this with http://mindprod.com/password.html

Try copy/pasting the result.

The field in question is a JTextField with setEditable( false );

A Swing JTextField will perform copy/paste by default using CTRL-C and
CTRL-V.
I suspect the behaviour you are witnessing is confined to a specific VM
implementation.
 
R

Roedy Green

I see you state need for 1.4.2_05 -
is there a fix the ctrl+c relies on?

I make that request simply because I am only prepared to test with
recent browsers. The only fix is to ask someone to upgrade to the
latest anyway.

I am beginning to regret coding to keep MS IE happy with its 1.1.5
browser. It was actually a disservice to people to encourage them to
continue with that. I should just flatly have said, "not supported,
get a real Java."
 
A

Andrew Thompson

MS IE happy with its 1.1.5

1.1.4 - That is the version reported by the
3810 (last that I know of) build of the MSVM.

1.1.5 first appeared in NN 4.something
'Symantec' was mentioned in the NN console
when I checked..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top