开发者

get jButton position "deprecated" function

I just want to ask you for the appropriate function for the button. BY using the function below, Eclipse notifies me that the function is "deprecated".

jButton.bounds();

My question to you is what is the right function to use if I w开发者_开发问答ant to get the position of the button?

Thanks in Advance


JButton.getBounds() is what you should be using instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜