Re-paint on translucent frame/panel/component.

后端 未结 4 1271
一个人的身影
一个人的身影 2020-11-22 15:42

I\'m trying to create a translucent window with Java on OSX and add a JLabel to it.

This JLabel changes its text every second....

4条回答
  •  执念已碎
    2020-11-22 16:11

    I don't know if the problem is solved, but I solved it in my application with a "Frame.repaint();"

    So every second my Frame will be repainted and my JLabel will be updatet with the actual time.

提交回复
热议问题