void changedUpdate(DocumentEvent e)
监听Document的属性是否被修改void insertUpdate(DocumentEvent e)
监听是否有新的Document插入void removeUpdate(DocumentEvent e)
监听是否有Document被删除
监听Document的属性是否被修改void insertUpdate(DocumentEvent e)
监听是否有新的Document插入void removeUpdate(DocumentEvent e)
监听是否有Document被删除
解决方案 »
- Java 抛出异常的问题
- 如何能做到在jtextarea的滚动输出呢
- 关于Java,table的问题
- String str=new String("test");//创建了一个对象,一个引用.对象new String("test")呆在堆里,那个引用str又该呆在那里?
- Float类型四舍五入问题?
- 谁能提供一个SQL Server 7.0 的JDBC驱动阿,要FREE的
- 总结:jTable与数据关联的方法,大家多总结一些这样的方法
- 我在一个文件里做了一个类,怎么在另外一个文件里调用这个类。
- jsdk1.4的方块字体的问题?
- 怎样将frame中的热咖啡的图标改掉
- 关于环境设置
- 一个基本问题:问什么编译不通过?
Gives notification that there was an insert into the document. The range given by the DocumentEvent bounds the freshly inserted region.removeUpdate(DocumentEvent e)--
Gives notification that a portion of the document has been removed. The range is given in terms of what the view last saw (that is, before updating sticky positions).changedUpdate(DocumentEvent e)--
Gives notification that an attribute or set of attributes changed