> I also posted about moving an
> /22/swingx-jxscrollmap-incubator]incubator component[/url] into SwingX.
Is the implementation abstract enough to work with only a JViewport or does it require a JScollPane and the corner button? The press button and drag on popup behavior has me worried that it is the latter? BTW, not too thrill with that behavior, took me a few tries cos, no, I didn't read the how-to at the bottom of the demo. I was expecting a simple click on the button and moving the mouse about would do the trick, but you have to hold down the mouse button - bit of a drag (bad pun, sorry).
There are more reasons to change the behavior other than the fact that I hate it. For example: implementing a right click on the component to show the JXScrollMap at the point of the click or registering a key binding (e.g VK_CONTEXT_MENU) to show the JXScrollMap centered on the JViewport. That brings me to another point, the JXScrollMap should be controllable through the keyboard via the arrow keys. perhaps a unit scroll for an arrow press and a block scroll for an CTRL + arrow press.
One last question/possible RFE: Is there a way to control the size of the "hotspot" rectangle? If the component in the JViewport is sufficiently large (perhaps a map?) then the "you are here" rectangle might become too small. The way out would be to put the JXScrollMap in a JViewport itself that shows a larger portion of original component, but not necessarily all of it and dragging at the edges or using the arrow keys would scroll the JXScrollMap.