Taskbar hides when Swing GUI gets maximized



When I maximize a JFrame that was created in the application, it hides
the Windows taskbar. I am using default Swing Look and Feel decorated
windows. Anybody knows how the problem can be fixed? Thanks.

.