Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Java Language
Expertise: Beginner
Jul 27, 1998



Application Security Testing: An Integral Part of DevOps

Java and Dual Monitor Unix Workstations

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

Within a Java application you cannot make windows appear on multiple screens without writing platform-specific native code. From the command line on a Unix system running the X Window system, you can make your Java application appear on a different screen by setting your DISPLAY environment variable to reference the appropriate screen. Your first screen should be hostname:0.0, your second should be hostname:0.1, and so on.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date