JDK-6631684 : Nimbus L&F:Frame button and title are misplaced on JInternalFrame
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The frame icon, the frame button and title are misplaced on JInternal Frame. It seems that the frame produces a wrong size for the title panel. Check attached screen shot image001.jpg.
There are a couple issues here:
1) The icon for the menu button was being drawn in the backgound of the button not its icon so when a custom icon was used it was drawn inside the default icon not in stead of. I have moved where the icon graphics are drawn which fixes this.
2) If the custom icon is bigger than the default (>18x18px) then the header paints incorrectly. There is no simple way to fix this with the way the Synth Regions are setup and the way Nimbus design looks. There is a property to restrict the frame icon size, which is now restricted to 18x18px which should fix this in all common casses.
3) Notcied that the title text font should be bold to match Nimbus Spec. FIXED
It was confirmed that it is about Nimbus Laf
We need at least some information how to reproduce this problem,
runnable test would be the best or at least something
One more question: what LookAndFeel is used ?