Skip to main content

need some information regarding SWT

4 replies [Last post]
deepthi_ventrap...
Offline
Joined: 2006-08-29
Points: 0

In one of the replies to my previous posts , its mentioned that if the window is SWT window, then the X11 integration under Solaris/Linux is the only thing that would work for plugging in the application into lg3D.
Well, I just wanted to know if I can implement the rotation from keypressedevent adapter in SWT on a linux machine? Where can I get the relevant information for the same?
I have never worked on SWT before and wanted to try this.
Regards
Deepthi

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
William Tracy

> In one of the replies to my previous posts , its mentioned that if
> the window is SWT window, then the X11 integration under Solaris/Linux
> is the only thing that would work for plugging in the application into lg3D.

What I meant is that you could use SWT to write your app as a normal
2D program that doesn't know about LG3D, and then run it inside LG3D
as a normal Unix program. The result wouldn't be able to interact with
LG3D in any way other than what's built in to LG3D--it would be an
ordinary, 2D program that doesn't even know that it's inside a 3D
environment.

In theory you could create SWT and 3D components from within the same
program, but they would appear on the screen as two seperate objects.
This wouldn't really help your problem. :-P

William

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

deepthi_ventrap...
Offline
Joined: 2006-08-29
Points: 0

Thanks for the reply. So, I understood that adding a second node to the component is the only way to implement rotation of a component having a window (Windows machine) from any of the event adapters as suggested by Krishna in my previous post. Linux system wouldn't help either.
am i right?
regards
deepthi

Krishna Gadepalli

Hi Deepthi
That's true for a SwingNode since all the events there are currently
sent directly to the Swing component (this can/should be changed in the
future).
This behavior is independent of the OS.
-krishna

lg3d@javadesktop.org said the following on 10/06/2006 06:44 AM:
> Thanks for the reply. So, I understood that adding a second node to the component is the only way to implement rotation of a component having a window (Windows machine) from any of the event adapters as suggested by Krishna in my previous post. Linux system wouldn't help either.
> am i right?
> regards
> deepthi
> [Message sent by forum member 'deepthi_ventrapragada' (deepthi_ventrapragada)]
>
> http://forums.java.net/jive/thread.jspa?messageID=160616
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
> For additional commands, e-mail: interest-help@lg3d.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

deepthi_ventrap...
Offline
Joined: 2006-08-29
Points: 0

Hi Krishna
Thanks for clarifying my doubt.
regards
deepthi