• Post Reply Bookmark Topic Watch Topic
  • New Topic

Recognizing OS UI

 
Nikolay Tsonkov
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am making a program using GUI, but the program would be run on different OS platforms. So I need a method that recognizes if the OS uses GUI in order my program to print out the results. I would be grateful if anyone could help me with that.

 
Campbell Ritchie
Marshal
Posts: 52516
118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do a search through the API index for methods called isHeadless() or similar. That should help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!