阅读背景:

如何检测是否支持图形界面?

来源:互联网 

I need my Java program to have two display modes: a GUI interface and a command line interface. If I run it in Windows, OS X, or another graphical environment I should get the GUI interface, but if I run it via SSH I should get the command line interface.I need my Java program to have two display mode




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: