[JPP-Devel] Debugging - Where does System.err output go?

2007-04-12 Thread Sunburned Surveyor
I've got the code for the plug-in dependency system and the pluggable renderers integrated into a copy of OpenJUMP's source code. I've built the code and I'm no doing some testing. I'm trying to track down the source of a NullPointerException by using some temporary System.err.println() statements

Re: [JPP-Devel] Debugging - Where does System.err output go?

2007-04-12 Thread Larry Becker
I think that it goes to the system console in Eclipse or whatever, otherwise probably to the bit bucket. regards, Larry On 4/12/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: I've got the code for the plug-in dependency system and the pluggable renderers integrated into a copy of OpenJUMP's

Re: [JPP-Devel] Debugging - Where does System.err output go?

2007-04-12 Thread Sunburned Surveyor
Larry, In this case I'm not debuggin in Eclipse, but actually running my tests in a functional copy of OpenJUMP. What is the bit bucket? Thanks for the help. The Sunburned Surveyor On 4/12/07, Larry Becker <[EMAIL PROTECTED]> wrote: I think that it goes to the system console in Eclipse or

Re: [JPP-Devel] Debugging - Where does System.err output go?

2007-04-12 Thread Larry Becker
http://en.wikipedia.org/wiki/Bit_bucket :-) Larry On 4/12/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: Larry, In this case I'm not debuggin in Eclipse, but actually running my tests in a functional copy of OpenJUMP. What is the bit bucket? Thanks for the help. The Sunburned Surveyor

[JPP-Devel] Help with pluggable renderers!

2007-04-12 Thread Sunburned Surveyor
O.K. I think I've narrowed down my NullPointerException problem, but I still need some help with a complete fix. I am able to properly render a layer when loading a new dataset in OpenJUMP with my pluggable rendering system enabled. However, when I try to zoom or pan the data in the LayerViewPan

Re: [JPP-Devel] Help with pluggable renderers!

2007-04-12 Thread Larry Becker
In Eclipse, just highlight the reference you are interested in (in this case render), right click and choose References->Project. This will display all of the places in the project that reference your highlighted text in a Search panel that you can arrow through. It understands Java, so it is muc

Re: [JPP-Devel] Help with pluggable renderers!

2007-04-12 Thread Sunburned Surveyor
Thanks Larry. I'll try that. The Sunburned Surveyor On 4/12/07, Larry Becker <[EMAIL PROTECTED]> wrote: In Eclipse, just highlight the reference you are interested in (in this case render), right click and choose References->Project. This will display all of the places in the project that re

Re: [JPP-Devel] Help with pluggable renderers!

2007-04-12 Thread Sunburned Surveyor
Larry and OpenJUMP Developers, I think the problem may be in the LayerViewPanel.layerChanged(LayerEvent) method. This method calls the RenderingManager.render() method with a Layerable object as the argument. I think I need to modify my code to determine the class that is implementing the layerab

[JPP-Devel] Question about efficient in-memory feature storage...

2007-04-12 Thread Sunburned Surveyor
I've been doing some more work on my FeatureCache implementation. I am currently designing a "buffer" that will hold a set number of features from the feature cache in memory. This will increase performance when a user is working with the same small group of features. The maximum number of feature

Re: [JPP-Devel] Question about efficient in-memory feature storage...

2007-04-12 Thread Michaƫl Michaud
Hi, Did you have a look to java 5 documentation ? : you'll find interesting information in Queue interface and LinkedList implementation. I think there are also many open-source projects related to Cache management. With java 5 generics cast is no more necessary. My advices : - read the javadoc