Smi*_*mit 11
可能是我不正确理解你的问题.但是你可以使用setMargin()
// set the margin for all four sides
tt.setMargin( new Insets(10,10,10,10) ); // tt is JTextArea instance
Run Code Online (Sandbox Code Playgroud)
一些重要的链接
| 归档时间: |
|
| 查看次数: |
8709 次 |
| 最近记录: |