jtextPane.setText(jtextPane.getText()); jtextPane.repaint();. Then all is well. But if I don't do BOTH lines, then neither will work alone.
確定! 回上一頁