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.
相关阅读
TextComponentjava 的资格认证考试[转载] Re: What are ontologies?javac命令行中path的空格问题[转载] 请问如何改变Oracle 9i AS中JVM的default encodingSunONE Studio5哪一位安装过J2EE 1.4 Beta2?T-shirt from Sun.com, Jun 30JSP is rubbish!java compilation questionmakefile to set classpathweb服务器与客户端双向认证[菜鸟问题]如何方便用JAVA APPLET进行界面设计?[转载] 如何在我的主页上为不同用户设置帐号和密码?哪位大侠有PM1 Quadtree java source code ?help on this scope question安装JAVA中的问题?java image processing problem[转载] JBuilder8只能装在rh上?CLASSPATH问题