Re: [JPP-Devel] FW: getting error on adding new image in image folder

2013-06-20 Thread Larry Becker
Convert the icon to one of the supported types ( GIF, JPEG, or PNG).

Larry

On Thu, Jun 20, 2013 at 4:05 AM, Tintu mary George <
tintu.geo...@rptechsoft.com> wrote:

>
>
> hi,
> i didnt get ans for this mail.can you reply for this mail?
> 
> From: Tintu mary George
> Sent: Thursday, June 20, 2013 1:23 PM
> To: jump-pilot-devel@lists.sourceforge.net
> Subject: getting error on adding new image in image folder
>
> Hi,
>
> I am trying to crete new tool on tool box.I am already crete plugin for
> that.but same thing we need it toolbar.So that i added one image named
> exe.tif  to this  com\vividsolutions\jump\workbench\ui\images,and change in
> the JUMPCofiguration.java.
> But I am getting error  on running the openjump
>
> java.lang.NullPointerException
> at javax.swing.ImageIcon.(ImageIcon.java:205)
> at
> com.vividsolutions.jump.workbench.ui.images.IconLoader.icon(IconLoader.java:44)
> at
> com.vividsolutions.jump.workbench.ui.zoom.panchayathtool.getIcon(panchayathtool.java:72)
> at
> com.vividsolutions.jump.workbench.ui.WorkbenchToolBar.addCursorTool(WorkbenchToolBar.java:160)
> at
> com.vividsolutions.jump.workbench.ui.WorkbenchToolBar.addCursorTool(WorkbenchToolBar.java:111)
> at
> com.vividsolutions.jump.workbench.JUMPConfiguration.add(JUMPConfiguration.java:1267)
> at
> com.vividsolutions.jump.workbench.JUMPConfiguration.configureToolBar(JUMPConfiguration.java:1279)
> at
> com.vividsolutions.jump.workbench.JUMPConfiguration.setup(JUMPConfiguration.java:383)
> at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:429)
> at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:381)
>
>
> can u please help me to solve this problem?
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> 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 Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] FW: getting error on adding new image in image folder

2013-06-20 Thread Giuseppe Aruta
Hi Tintu,
you can add tools to toolbar via-PlugIn too, without changing the OpenJUMP
main class, Check on my Cad Extension for OpenJUMP (
http://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/).
The code is embedded into the plugin.
See class it.geoarbores.openjump.cadtools.plugins.EditToolboxCADPlugIn that
adds new tools to Editing toolbox

Peppe


2013/6/20 Tintu mary George 

>
>
> hi,
> i didnt get ans for this mail.can you reply for this mail?
> 
> From: Tintu mary George
> Sent: Thursday, June 20, 2013 1:23 PM
> To: jump-pilot-devel@lists.sourceforge.net
> Subject: getting error on adding new image in image folder
>
> Hi,
>
> I am trying to crete new tool on tool box.I am already crete plugin for
> that.but same thing we need it toolbar.So that i added one image named
> exe.tif  to this  com\vividsolutions\jump\workbench\ui\images,and change in
> the JUMPCofiguration.java.
> But I am getting error  on running the openjump
>
> java.lang.NullPointerException
> at javax.swing.ImageIcon.(ImageIcon.java:205)
> at
> com.vividsolutions.jump.workbench.ui.images.IconLoader.icon(IconLoader.java:44)
> at
> com.vividsolutions.jump.workbench.ui.zoom.panchayathtool.getIcon(panchayathtool.java:72)
> at
> com.vividsolutions.jump.workbench.ui.WorkbenchToolBar.addCursorTool(WorkbenchToolBar.java:160)
> at
> com.vividsolutions.jump.workbench.ui.WorkbenchToolBar.addCursorTool(WorkbenchToolBar.java:111)
> at
> com.vividsolutions.jump.workbench.JUMPConfiguration.add(JUMPConfiguration.java:1267)
> at
> com.vividsolutions.jump.workbench.JUMPConfiguration.configureToolBar(JUMPConfiguration.java:1279)
> at
> com.vividsolutions.jump.workbench.JUMPConfiguration.setup(JUMPConfiguration.java:383)
> at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:429)
> at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:381)
>
>
> can u please help me to solve this problem?
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> 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 Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] FW: getting error on adding new image in image folder

2013-06-20 Thread Tintu mary George


hi,
i didnt get ans for this mail.can you reply for this mail?

From: Tintu mary George
Sent: Thursday, June 20, 2013 1:23 PM
To: jump-pilot-devel@lists.sourceforge.net
Subject: getting error on adding new image in image folder

Hi,

I am trying to crete new tool on tool box.I am already crete plugin for 
that.but same thing we need it toolbar.So that i added one image named exe.tif  
to this  com\vividsolutions\jump\workbench\ui\images,and change in the 
JUMPCofiguration.java.
But I am getting error  on running the openjump

java.lang.NullPointerException
at javax.swing.ImageIcon.(ImageIcon.java:205)
at 
com.vividsolutions.jump.workbench.ui.images.IconLoader.icon(IconLoader.java:44)
at 
com.vividsolutions.jump.workbench.ui.zoom.panchayathtool.getIcon(panchayathtool.java:72)
at 
com.vividsolutions.jump.workbench.ui.WorkbenchToolBar.addCursorTool(WorkbenchToolBar.java:160)
at 
com.vividsolutions.jump.workbench.ui.WorkbenchToolBar.addCursorTool(WorkbenchToolBar.java:111)
at 
com.vividsolutions.jump.workbench.JUMPConfiguration.add(JUMPConfiguration.java:1267)
at 
com.vividsolutions.jump.workbench.JUMPConfiguration.configureToolBar(JUMPConfiguration.java:1279)
at 
com.vividsolutions.jump.workbench.JUMPConfiguration.setup(JUMPConfiguration.java:383)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:429)
at 
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:381)


can u please help me to solve this problem?

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel