Problems to run multiple JME windows

I am currently working on a project that requires we start 2 windows, totally independent each other.

These windows will share the same variables, but with different screens. That is why we need to handle 2 windows separated.



I have already tried to use 2 displays at the same videocard. I could launch the first window, but when the second one was launched, I received the following message:



Selected display mode: 800 x 600 x 0 Hz



and the first one went freezed. Our project will run over Win 7.



Currently, I am using the following code:



[java]

Class1 extends SimpleApplication

Class2 extends SimpleApplication



Class1 app = new Class1();

(…)

app.start();



Class2 app2 = new Class2();

(…)

app2.start();



[/java]



Can someone help me?



Thank you all.

no double posting! be patient