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:

  1. paint translucent layers
  2. do animation

put examples , should have solution.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -