In my java program, when the user clicks the button in the main one JFrame, the other one JFramebecomes visible on top of the main frame. Now, how to make the previous frame blurry? Just like the background in the image:
JFrame
Now, how to make the previous frame blurry?
take a look at JLayer (Java7) based on JXLayer (Java6) ,
The similair effect is possible with GlassPaneor with JViewport(not the right paths, but the good Swing GUI contains JScrollPaneas 1st. JComponentIn JFrame/ JDialog/ JWindow)
GlassPane
JViewport
JScrollPane
JComponent
JDialog
JWindow
, Java Swing, - , .
JDialog , JFrame. A JDialog . , JFrame, JDialog.
a JDialog - JFrame. JFrame, JFrame.
tutorial , JFrame.
setOpacity(float opacity), JFrame ( Frame ).
setOpacity(float opacity)
Frame