JTextPane自动滚动到末尾

mac2022-06-30  20

javax.swing.text.Document doc = jTextPane.getDocument();  jTextPane.setCaretPosition(doc.getLength());

转载于:https://www.cnblogs.com/cuizhf/archive/2011/09/21/2183753.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)