Alessandro,

I'm going to have to defer to those that are more familiar with
OpenJUMP's rendering system. (If you've been following the posts
you'll see I have a lot to learn in this area.) :]

However, I noticed that your exception comes, not from a class in
OpenJUMP, but from a calss in JTS. Would looking at this class in the
JTS code/Javadoc give you a clue as to what is going on?

The Sunburned Surveyor

On 11/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi List,
>
> I'm trying to do a little improvement to SIGLE
> PrintLayoutPlugin, i.e. I want to print also the Scale Bar and not only
> the LayerViewPanel.
> So i decided to implement a class that do this, but
> i'm stuck in a point and i can't get out of it.
> To make ScaleBar
> visible, I wrote the following instructions (as i saw them in
> ScaleBarRenderer):
>
>            ScaleBarRenderer.setEnabled(true,
> this);
>            this.getRenderingManager().render(ScaleBarRenderer.
> CONTENT_ID);
>
>
> Where this is mapFrameonScreen,
> an object of the class MapFrameOnScreen that extends LayerViewPanel.
>
> When I Try to execute this, it returns me an exception, here it is the
> stack trace:
>
>
>
>        com.vividsolutions.jts.
> util.AssertionFailedException: Should never reach here: SCALE_BAR
>         at com.vividsolutions.jts.util.Assert.shouldNeverReachHere
> (Assert.java:122)
>
>
>
>
> Is there any way to avoid this?
> If you have any
> suggestion, you're the welcome.
> Thanks a lot
>
> Alessandro
>
> -------------------------------------------------------------------------
> 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