Java and Dual Monitor Unix Workstations

Java and Dual Monitor Unix Workstations

I have a question regarding use of dual monitorUnix workstations to display Java screens.Specifically, can I display the mainscreen on onemonitor and the popup on another monitor?

Within a Java application you cannot make windowsappear on multiple screens without writingplatform-specific native code. From the commandline on a Unix system running the X Windowsystem, you can make your Java applicationappear on a different screen by setting yourDISPLAY environment variable to reference theappropriate screen. Your first screen should behostname:0.0, your second should be hostname:0.1,and so on.


Share the Post: