DisplaySystem.getDisplaySystem() does not work

I want to use DisplaySystem.getDisplaySystem() to create a displaying desktop, however, when I enter code:

[java]DisplaySystem ds = DisplaySystem.getDisplaySystem();[/java]

it does not work.

and the error message said “cannot find symbol”.

What is wrong with it?

Press Ctrl-Shift-I

@normen said:
Press Ctrl-Shift-I


it said nothing to fix in import statement

Well, its a java syntax error, you will encounter many of these if you are not proficient in java so I guess its best you find out how you can add the import to be able to access the class (hint, hint). Also wait, what do you mean by “a displaying desktop” at all?

@normen said:
Well, its a java syntax error, you will encounter many of these if you are not proficient in java so I guess its best you find out how you can add the import to be able to access the class (hint, hint). Also wait, what do you mean by "a displaying desktop" at all?

actually, I am not quite know about what is a displaying desktop is because I saw it in a Chinese IT forum and I just translated it a little bit unsuitable, if I say showing a screen like a desktop it will be more clear.

Yeah… w/e. Anyway I just realize that this is a jME2 class, it doesn’t exist in jME3.

@normen said:
Yeah.. w/e. Anyway I just realize that this is a jME2 class, it doesn't exist in jME3.


thanks