![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java swing
Purse丶Msy
这个作者很懒,什么都没留下…
展开
-
java swing关于UIManger在windows下的swing系统风格对JButton的影响
知道UIManager.setlookandFeel(getsystemlookandFeel_style String_name)可以改变swing的UI风格。 并且需要调用SwingUtilities.updateComponentTreeUI( Component name) 才能立即显示UI风格。 但是如果swing窗口中有JButton 那么当焦点在JButton组件上的时候,JB...原创 2019-05-19 21:54:52 · 453 阅读 · 0 评论 -
关于swing rotate方法旋转问题
上次总结了一下 swing rotate方法的旋转问题 配合translate方法移动原点 在这里说声对不起了! 说实话 ,现在回想起来当时自己都很懵逼。 那今天自己重新总结了一下它的用法 rotate方法 有两种形式 一种不给定坐标进行旋转 还有一种是rotate(double deg, int x,int y) 这个方法是先将原点根据(x,y)移动之后在进行旋转,然后在将根据(-...原创 2019-06-09 17:37:21 · 1235 阅读 · 0 评论