[JPP-Devel] Vertex snapping not working on version 1.2B
Hi guys. J I'm testing version 1.2B of OJ. Under 'Options-Snap/Grid' clicking to check/uncheck the 'Snap to vertices' checkbox produces no results. :O Snapping is *always* on. Regards, Pedro Doria Meunier. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Proper use of instanceof operator?
Sure thing. I wonder why I didn't see that error in my Eclipse editor? I'll make the correction and see if that fixes the problem. Thanks very much for the help Craig. Sometimes the second pair of eyes catches something very obvious. The Sunburned Surveyor On 5/4/07, A. Craig West [EMAIL PROTECTED] wrote: I think it's just a typo, you have an extra semicolon at the end of the if... -Craig On 5/4/07, Sunburned Surveyor [EMAIL PROTECTED] wrote: Hey guys. I need some help with the use of the instanceof operator. This one really has me stumped. :] In one of my unit tests I have the following test method: else if(testResult instanceof com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer == true); { Class thisClass = testResult.getClass(); String toPrint = thisClass.getName(); fail(The renderer returned was not an instance of LayerRenderer. The object + returned was a + toPrint); } This test method fails and prints the following message: The renderer returned was not an instance of LayerRenderer. The ojbect returned was a com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer How could the testResult object not be an instance of the com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer when I use the instanceof operator, but be an object of that same class as indicated by the error message? Am I using the instanceof operator incorrectly? Thanks in advance for the help. The Sunburned Surveyor - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Proper use of instanceof operator?
The one advantage of being an editor luddite who only uses vi is that I'm used to having to find this stuff myself :-) It's things like this that have always had me wondering if pair programming would be worth it, whenever I have worked as part of a pair, it seems like we are a lot more productive, but I've never been able to convince management that it is enough of a factor to justify it... -Craig On 5/4/07, Sunburned Surveyor [EMAIL PROTECTED] wrote: Sure thing. I wonder why I didn't see that error in my Eclipse editor? I'll make the correction and see if that fixes the problem. Thanks very much for the help Craig. Sometimes the second pair of eyes catches something very obvious. The Sunburned Surveyor On 5/4/07, A. Craig West [EMAIL PROTECTED] wrote: I think it's just a typo, you have an extra semicolon at the end of the if... -Craig On 5/4/07, Sunburned Surveyor [EMAIL PROTECTED] wrote: Hey guys. I need some help with the use of the instanceof operator. This one really has me stumped. :] In one of my unit tests I have the following test method: else if(testResult instanceof com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer == true); { Class thisClass = testResult.getClass(); String toPrint = thisClass.getName(); fail(The renderer returned was not an instance of LayerRenderer. The object + returned was a + toPrint); } This test method fails and prints the following message: The renderer returned was not an instance of LayerRenderer. The ojbect returned was a com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer How could the testResult object not be an instance of the com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer when I use the instanceof operator, but be an object of that same class as indicated by the error message? Am I using the instanceof operator incorrectly? Thanks in advance for the help. The Sunburned Surveyor - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Proper use of instanceof operator?
Craig, I've never thought about pair programming in that way. I'm a hobby programmer, and don't have anyone to check my code, except for the occasional patient soul on this mailing list. I do know how many mistakes are caught by a second set of eyes at my day job, I just never thought about the same thing happening with my programming. I think I'd be really up a creek without a paddle if I didn't have an editor like Eclipse to help me discover my errors. It would be like a word processor without spellcheck. The Sunburned Surveyor On 5/4/07, A. Craig West [EMAIL PROTECTED] wrote: The one advantage of being an editor luddite who only uses vi is that I'm used to having to find this stuff myself :-) It's things like this that have always had me wondering if pair programming would be worth it, whenever I have worked as part of a pair, it seems like we are a lot more productive, but I've never been able to convince management that it is enough of a factor to justify it... -Craig On 5/4/07, Sunburned Surveyor [EMAIL PROTECTED] wrote: Sure thing. I wonder why I didn't see that error in my Eclipse editor? I'll make the correction and see if that fixes the problem. Thanks very much for the help Craig. Sometimes the second pair of eyes catches something very obvious. The Sunburned Surveyor On 5/4/07, A. Craig West [EMAIL PROTECTED] wrote: I think it's just a typo, you have an extra semicolon at the end of the if... -Craig On 5/4/07, Sunburned Surveyor [EMAIL PROTECTED] wrote: Hey guys. I need some help with the use of the instanceof operator. This one really has me stumped. :] In one of my unit tests I have the following test method: else if(testResult instanceof com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer == true); { Class thisClass = testResult.getClass(); String toPrint = thisClass.getName(); fail(The renderer returned was not an instance of LayerRenderer. The object + returned was a + toPrint); } This test method fails and prints the following message: The renderer returned was not an instance of LayerRenderer. The ojbect returned was a com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer How could the testResult object not be an instance of the com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer when I use the instanceof operator, but be an object of that same class as indicated by the error message? Am I using the instanceof operator incorrectly? Thanks in advance for the help. The Sunburned Surveyor - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Jump-pilot-devel mailing list