This comment is the actual answer, when creating a JLabel with an empty string as the text the label's dimensions do not get set properly when using ...
確定! 回上一頁