How can I put the Swing program which has a jme program into the JMEDesktop?

How can I make it?

:? what do you mean?

irrisor said:

:? what do you mean?

Look at this picture which show a swing with a jme program.

I want to put these swing into a JMEDesktop program just like the TestJMEDesktop.java in the jme example
The following picture shows a JMEDesktop program written by me.

spring1201 said:

[img]http://F:monitor.bmp[/img]
[img]http://F:admin.bmp[/img]

You'll have to upload the images somewhere so we can see them :)
But I think you are asking how you would render a JMECanvas inside a JMEDesktop.
I have no idea, but maybe my interpretation of your question helps others help you.
hevee said:

But I think you are asking how you would render a JMECanvas inside a JMEDesktop.

If this really is the question, the answer it simple: it won't work with Swing. You'd need to render the scene from the canvas to a texture instead an put an additional quad before the JMEDesktop.
But I'm not sure you really want to have a canvas inside JMEDesktop.
irrisor said:

hevee said:

But I think you are asking how you would render a JMECanvas inside a JMEDesktop.

If this really is the question, the answer it simple: it won't work with Swing. You'd need to render the scene from the canvas to a texture instead an put an additional quad before the JMEDesktop.
But I'm not sure you really want to have a canvas inside JMEDesktop.

Yes,I want to hava a canvas inside JMEDesktop.How can I make it?

As I said: you can't. Only the workaround I suggested.

irrisor said:

As I said: you can't. Only the workaround I suggested.

Oh,I see.Thanks