java - How to make a JFrame one colour? -
i'm trying add polish small game made and, every time round finishes, i'd whole jframe flash white , lose opacity until can see game again. how this?
note: i'm thinking hiding components , adding jpanel on top loses opacity doesn't seem right (and i'd able see components behind white flash goes opaque transparent).
you use jlayer class. take @ section swing tutorial on how decorate components jlayer class.
the tutorial has examples that:
- paint translucent layers
- do animation
put examples , should have solution.
Comments
Post a Comment