Search code examples
javaswingjframejlayer

How to make a JFrame blurred in java?


In my java program, when the user clicks on a button in the main JFrame another JFrame becomes visible on top of the main frame. Now how to make the previous frame blurred? Exactly like the background in the image :

Overlay blurring background


Solution

  • Now how to make the previous frame blurred?