Hi, I need to find out the left & right border widths of a JFrame. This is easy if I have an existing object (assuming it's been painted at least once).
The border width may vary depending on the current look & feel, whether running on windows or the MAC, etc.
I want to find out this value without creating an instance of JFrame. So I thought I'd try the UIManager, and I thought I'd need something like this:
javax.swing.border.Border b = javax.swing.UIManager.getBorder("InternalFrame.border");
But of course that's for InternalFrames, not JFrames.
I can't figure this out - any ideas?
Thanks, TL
PS. Plse don't ask why I need to know this width ;-)