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.
精彩评论