solvedRe: how to change the input mode?# Java - 爪哇娇娃
m*e
1 楼
Hello, I found the solution under this link:
http://forum.java.sun.com/thread.jsp?forum=57&thread=243443
The content:
Re: JTextArea: Delete, Insert, Auto-Replace
Author: camickr
In Reply To: JTextArea: Delete, Insert, Auto-Replace
Here is how I support insert/overtype in a JTextArea. The code can also be
downloaded from:
http://www.discoverteenergy.com/files/OvertypeTextArea.java
import java.awt.*;import java.awt.event.*;import javax.swing.*;import
javax.swing.text.*;import javax.swing.event.*;i
http://forum.java.sun.com/thread.jsp?forum=57&thread=243443
The content:
Re: JTextArea: Delete, Insert, Auto-Replace
Author: camickr
In Reply To: JTextArea: Delete, Insert, Auto-Replace
Here is how I support insert/overtype in a JTextArea. The code can also be
downloaded from:
http://www.discoverteenergy.com/files/OvertypeTextArea.java
import java.awt.*;import java.awt.event.*;import javax.swing.*;import
javax.swing.text.*;import javax.swing.event.*;i