Answer #1: It is possible to compute the text width for a given font with the FontMetrics class and compare this length with the textfield width. JtextField ...
確定! 回上一頁