阅读背景:

JButton设置X位置无效

来源:互联网 

I have a JWindow which has a JLabel and JButton in a JPanel. I'm trying to set the location of the JButton to the center. For some reason, setting the y location works, but the x location doesn't change. What is wrong with my code?I have a JWindow which has a JLabel and JButton




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: