Re: how to get the length of the text from a JTextField and JTextArea? Use java.awt.FontMetrics.stringWidth(String).
確定! 回上一頁