-
Bug
-
Resolution: Duplicate
-
P4
-
7u9
-
Darwin Joshuas-MacBook-Pro.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
-
os_x
FULL PRODUCT VERSION :
1.7.0__09-b05 Java HotSpot(TM) 64-Bit Server
ADDITIONAL OS VERSION INFORMATION :
Darwin Joshuas-MacBook-Pro.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
EXTRA RELEVANT SYSTEM CONFIGURATION :
Java Plug-in 10.9.2.05
A DESCRIPTION OF THE PROBLEM :
Copy/Paste from/to AWT controls in applets does not work.
This used to work in JRE 6 from Apple. It currently works in JRE 7 on Windows.
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Visit: http://www.willamette.edu/~gorr/classes/cs231/lectures/chapter5/
Try to paste text into the applet on that page
Try to copy text from the applet on that page
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
AWT should allow copy/paste from the system clipboard
ACTUAL -
Nothing happens.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
It's on that page:
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class MyApplet extends Applet implements ActionListener {
TextField inputLine = new TextField(15);
public MyApplet() {
add(inputLine);
inputLine.addActionListener(this);
}
public void actionPerformed(ActionEvent event) {
String s = inputLine.getText();
String sUp = s.toUpperCase();
inputLine.setText(sUp);
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Have not found one.
1.7.0__09-b05 Java HotSpot(TM) 64-Bit Server
ADDITIONAL OS VERSION INFORMATION :
Darwin Joshuas-MacBook-Pro.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
EXTRA RELEVANT SYSTEM CONFIGURATION :
Java Plug-in 10.9.2.05
A DESCRIPTION OF THE PROBLEM :
Copy/Paste from/to AWT controls in applets does not work.
This used to work in JRE 6 from Apple. It currently works in JRE 7 on Windows.
REGRESSION. Last worked in version 6u31
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Visit: http://www.willamette.edu/~gorr/classes/cs231/lectures/chapter5/
Try to paste text into the applet on that page
Try to copy text from the applet on that page
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
AWT should allow copy/paste from the system clipboard
ACTUAL -
Nothing happens.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
It's on that page:
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class MyApplet extends Applet implements ActionListener {
TextField inputLine = new TextField(15);
public MyApplet() {
add(inputLine);
inputLine.addActionListener(this);
}
public void actionPerformed(ActionEvent event) {
String s = inputLine.getText();
String sUp = s.toUpperCase();
inputLine.setText(sUp);
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Have not found one.
- duplicates
-
JDK-8013183 [macosx] Copy Paste does not work
- Closed