m*e
2 楼
Hello everyone,
I am writing a simple word processor in Java. I use JTextPane and implemented
the usual functions like cut, paste, insert, change the font for selected
text, save the file in rft or html format. But how can I set the input mode to
"overwrite" by press the "insert"-key? My problem is that the new input
doesn't overwrite the text after the cusor after I press the insert key. Can
anyone give me some tips? Which Class is responsible for this action? Thanks
a lot in advance.
I am writing a simple word processor in Java. I use JTextPane and implemented
the usual functions like cut, paste, insert, change the font for selected
text, save the file in rft or html format. But how can I set the input mode to
"overwrite" by press the "insert"-key? My problem is that the new input
doesn't overwrite the text after the cusor after I press the insert key. Can
anyone give me some tips? Which Class is responsible for this action? Thanks
a lot in advance.
相关阅读
Hibernate sequences question请推荐servlet还有jsp的书请问netbeans跑java project中makefile的问题(包子答谢)自学J2EE,指点一下1999年出版的C,C++,Java语言教程过期了吗??遇到一个程序运行错误spring/hibernate/ajax/web 2.0/bpel booksJBosslinux环境下运行Runtime.getRuntime().exec(cmd)的问题JAVA新手问题请教怎样用class的string type name 动态生成object? 回国的时候上个J2EE的民工班怎么样JAVA文本文件读写问题请问jeditorpane怎末才能显示rss or xml?Sale: Sun Certified Java Exam Voucherxml to PDF的package怎么样同时build两个xsd fileHow do I declare a transaction among 2 spring service calls在OS X下面做JAVA有一个小小的问题testing engineer 面试会问些什么问题?