Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Problems with Java3D and uDig

ok, I have read about management of threads (or jobs) on Eclipse. But I don't know what job I have to stop or what actions I have to do now?


From:  Alvaro Zabala <azabala@xxxxxxxxx>
Reply-To:  User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
To:  User-friendly Desktop Internet GIS <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject:  Re: [udig-devel] Problems with Java3D and uDig
Date:  Tue, 24 Jan 2006 11:07:52 +0100
>Aint  used UDIG, but Ive programmed a lot with Java3D and windowed toolkits.
>
>It may be a problem of threads (if you execute some code from
>execution thread of UDIG, rendering thread wont execute untill gui
>thread returns)
>
>
>
>On 1/24/06, Iñigo Telleria Elola <tellenaiz@xxxxxxxxxxx> wrote:
> >
> > Hi,
> > Thanks! Now this probem has been solutioned. But I don't know why, but some
> > instructions of Java3D don't work when I programme on Eclipse against the
> > uDig platform. For example, a plugin which has a canvas3D. If I want to
> > change the point of view of the canvas 3D, in this instruction:
> > simpleUniverse.getViewingPlatform().getViewPlatform().setTransform(t);
> >
> > in that instruction the plugin stops, it doesn't do anything and it doesn't
> > appear anything. It doesn't continue in the next instruction.  If somebody
> > has used Java3D on uDig, maybe he can help me.
> >
> > ________________________________
> > From: Jesse Eichar <jeichar@xxxxxxxxxxxxxxx>
> > Reply-To: User-friendly Desktop Internet GIS
> > <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
> > To: User-friendly Desktop Internet GIS
> > <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
> > Subject: Re: [udig-devel] Problems with Java3D and uDig
> > Date: Thu, 19 Jan 2006 11:37:57 -0800
> >
> >
> > I think this has to do with classloaders.  I'm not an expert on the 3d API
> > but I am guessing that when you install it, the jars are put in the
> > jre/lib/ext directory.  If this is the case then you have to add:
> >
> > Eclipse-BuddyPolicy: ext
> >
> > to the Manifest.MF of your plugin.
> >
> > Jesse
> >
> > Iñigo Telleria Elola wrote:
> >
> >
> > I'm creating a plugin which opens a frame and it shows a map in 3D. So I
> > want to insert  a canvas3D in the frame. If the frame contains a canvas3D,
> > when the plugins is going to create this frame the plugins stops.
> >
> >
> > For example:
> >
> > class myFrame extends Frame{
> >
> > myFrame(){
> >
> > Canvas3D myCanvas3D = new Canvas3D(null);
> >
> > add(myCanvas3D);
> >
> > }
> >
> > If I debug the plugin, when the plugin wants to create this frame: Frame
> > frame = new myFrame(); In that step PlatformGIS.class appears and the debug
> > instruction pointer is in this function of PlatformGIS: run(ISafeRunnable
> > runnable). The exception's cause is: NoClassDefFoundError, but I think
> > Eclipse's configuration is correct.
> >
> > I don't know if I have explained correctly.
> >
> > Thanks in advance.
> >
> > ________________________________
> > From:  Jesse Eichar <jeichar@xxxxxxxxxxxxxxx>
> > Reply-To:  User-friendly Desktop Internet GIS
> > <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
> > To:  User-friendly Desktop Internet GIS
> > <udig-devel@xxxxxxxxxxxxxxxxxxxxx>
> > Subject:  Re: [udig-devel] Problems with Java3D and uDig
> > Date:  Thu, 19 Jan 2006 10:10:33 -0800
> > >Hi,
> > >
> > >What plugins don't work?  What is the exception?
> > >
> > >Jesse
> > >Iñigo Telleria Elola wrote:
> > >>
> > >>Hi,
> > >>I have a serious problem. The plug-in I'm developing has a AWT
> > >>frame and I want to add in the frame a canvas3D of Java3D. But if I
> > >>create a canvas3d and add in the frame, the plugins doesn't work.
> > >>The plugin stops when it has to create the frame which contains the
> > >>canvas3D.
> > >>
> > >>If I run the plugin it doesn't appear any information about the
> > >>error. If I debug, I can see when plugins creates (new Frame) the
> > >>frame that an exception ocurred. This exception is catched in
> > >>PlatormGIS.class.
> > >>
> > >>I think it's due to thread's problem, but I have been searching
> > >>information in your documentation and I haven't found anything
> > >>about it.
> > >>
> > >>Could you help me please?
> > >>
> > >>Thanks in advance
> > >>
> > >>------------------------------------------------------------------------
> > >>
> > >>_______________________________________________
> > >>User-friendly Desktop Internet GIS (uDig)
> > >>http://udig.refractions.net
> > >>http://lists.refractions.net/mailman/listinfo/udig-devel
> > >>
> > >
> > >_______________________________________________
> > >User-friendly Desktop Internet GIS (uDig)
> > >http://udig.refractions.net
> > >http://lists.refractions.net/mailman/listinfo/udig-devel
> > ________________________________
> >
>_______________________________________________
>User-friendly
> > Desktop Internet GIS
> > (uDig)
>http://udig.refractions.net
>http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> >
> >
> >
> > >_______________________________________________
> > >User-friendly Desktop Internet GIS (uDig)
> > >http://udig.refractions.net
> > >http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> >
> >
> >
> >
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig)
> > http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
> >
> >
> >
>
>
>--
>Alvaro Zabala Ordóñez
>Asociación para la promoción del GIS Libre
>www.agiles.org
>
>Funcionario del Cuerpo de Gestión de Sistemas e Informática de la
>Administración General del Estado.
>Confederación Hidrográfica del Guadalquivir.
>Teléfono: 954939528
>Plaza de España, sector II.
>SEVILLA
>_______________________________________________
>User-friendly Desktop Internet GIS (uDig)
>http://udig.refractions.net
>http://lists.refractions.net/mailman/listinfo/udig-devel

Back to the top