• Post Reply Bookmark Topic Watch Topic
  • New Topic

Any way to redirect DISPLAY within a Java app???

 
Paul Santa Maria
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi -

I've got a Linux app that needs to be able to talk to multiple different X servers at once. I'd like to be able to code it in Java/Swing.

Is there any way to set the X11 DISPLAY at run time (e.g. to talk to "server1:0.0" one moment, then "server2:0" the next)?

Thanx in advance .. PSM
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!