In using the WebLookAndFeel UI for my window frame I looked up a way of resizing undecorated frames. Luckily, that solution was found: Drag and Resize undecorated JFrame
However, in using the Component Resizer code I encountered a problem with border detection. The resizing was detecting a little beyond the visual border of my application. Using Windows's snipping tool I confirmed my suspicions by setting the mode to Window Snip mode, which you can see here. The actual border of my frame is extended past the visual portion that a typical user would see because there's soft shadows being rendered for the frame.
How can I implement offsets into the Component Resizer code so the cursor is detected on the visual border and not the soft shadow border of the look and feel? I've tried playing around with the insets and changing internal values, but no dice. Any help is appreciated.
After recreating the class myself so I could understand how the code worked I implemented the offset in there. Note, that I've only tested with a negative offset, but it seems to work fine. I also changed up how you install the listeners and variables to control, like zone, which all it does is check half out and half in the line of offset before deciding on the cursor to use. So a zone of 7 will have the cursor check 3 outside and 3 inside.