Hi Paul, thanks for your answer and your introduction to the list. We are always glad to hear when someone uses OJ, uses OJ to develop further tools (or even wants to contribute :)
I guess I shall also have a look at your SMT tool. Uh, seems like SAR stands not for "Synthetic Aperture Radar" - in your case? - but "Search And Rescue"? cheers, stefan Am 21.09.13 01:37, schrieb Paul J. Morris: > On Fri, 20 Sep 2013 11:15:58 -0700 > Landon Blake <sunburned.surve...@gmail.com> wrote: >> Has anyone extracted the LayerViewPanel as a stand-alone widget for >> Swing Programs? > > I've used the LayerViewPanel and TreeLayerNamePanel in SMT - SAR > Manager Toolkit http://sarmanager.sourceforge.net/ > >> I was thinking about doing this, or of coding something similar from >> scratch, but I wanted to ask here first. > > Current OpenJump places some constraints on what seems to be able to be > done easily. I had to make a few changes to get things to work, see: > http://sourceforge.net/p/sarmanager/code/HEAD/tree/trunk/SMT/lib/openjump1.4.3alpha_rev2524.patch > > I also found that I needed to embedd these into a class that extended a > JInternalFrame: > > public class MapInternalFrame extends JInternalFrame implements > LayerManagerProxy, LayerViewPanelProxy, TaskFrameProxy, LayerNamePanel, > LayerNamePanelProxy, SelectionManagerProxy { ... > > http://sourceforge.net/p/sarmanager/code/HEAD/tree/trunk/SMT/src/net/aa3sd/SMT/ui/MapInternalFrame.java > > I haven't gone digging very far, but it did find dependencies in the > OpenJump classes/interfaces on JInternalFrame (rather than the more > general JComponent) that appeared to prevent (unless I was missing > something) things like embedding a LayerViewPanel in a JPanel and a > TreeLayerNamePanel in another JPanel without there being an enclosing > JInternalFrame. > > And, greetings to all. Have been lurking for a while, but haven't had > a chance to introduce myself, or describe what I've been trying to > accomplish with OpenJump. I keep hoping I'll have time to contribute, > particularly to improving support for projections, but haven't had a > chance to yet. Great platform, thanks to everyone involved for all the > good work. > > -Paul > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel