Hi Geoff - Been a while since I've been in the code, but I think there's a
method in LayerViewPanel or LayerViewPanel.getRenderingManager (named
paint() perhaps?) to which you can pass in your JPanel's GraphicsContext and
get it painted.

--
Jon Aquino   (Victoria BC Canada)
http://jonathanaquino.com



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Geoffrey G Roy
> Sent: Monday, December 25, 2006 12:25 AM
> To: jump-pilot-devel@lists.sourceforge.net
> Subject: Re: [JPP-Devel] printing
> 
> 
> I am new to openJump and still coming to terms with how it is all put 
> together. 
> 
> I am currently attempting to develop a printing plugin that 
> will print 
> maps to scale over multiple sheets of paper..  My initial problem 
> concerns displaying the current map display in another window 
> for layout 
> purposes.  Once I have the plugin context (and hence the 
> LayerViewPanel, 
> etc), how to I get access to the "map" components so I can 
> draw them in 
> another JPanel using the inbuilt renderers?
> 
> I realize there is probably a simple solution - but I have 
> not yet found it.
> 
> Geoff Roy
> 
> -- 
> Geoffrey G Roy
> Cadplan
> 129 Gloster Street, Subiaco WA 6008
> Tel: (08) 9381 4870  Fax: (08) 9382 4459
> Email: [EMAIL PROTECTED]
> http://www.cadplan.com.au
> 
> 
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the 
> chance to share your opinions on IT & business topics through 
> brief surveys - and earn cash 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to