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

php - Admin SDK -- get information about the group -

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

Python Error - TypeError: input expected at most 1 arguments, got 3 -