I am creating an application that uses many JInternalFrames, but whenever I add one to my JDesktopPane, the bottom shadow of the internal frame is opaque and dark gray, as shown below. Is this an issue with the look and feel and is there a way to fix this without removing the shadow altogether?
Edit: Here's some runnable code which demonstrates an internal frame having an issue with the bottom shadow even when using the most basic form:
public static void main(String[] args) {
JDesktopPane pane = new JDesktopPane();
JFrame frame = new JFrame();
frame.setPreferredSize(new Dimension(600, 400));
pane.setVisible(true);
frame.add(pane);
JInternalFrame intFrame = new JInternalFrame();
intFrame.setSize(new Dimension(200, 100));
intFrame.setVisible(true);
intFrame.setResizable(true);
pane.add(intFrame);
frame.pack();
frame.setVisible(true);
}
So just in case someone with the same problem stumbles upon this post, it turns out this was a problem with java in OS X El Capitan, and I'm not currently aware of a fix for it.