GraphicsDevice: getIDstring() : GraphicsDevice : java.awt : Java by API examples (example source code) Organized by topic

Java by API
C++
PHP
Java by API Home »  java.awt   » [  GraphicsDevice  ]   
 



GraphicsDevice: getIDstring()

import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;

public class MainClass {

  public static void main(String[] athrows Exception {
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice[] screenDevices = ge.getScreenDevices();
    for (int i = 0; i < screenDevices.length; i++)
      System.out.println(screenDevices[i].getIDstring());
  }
}

           
       
Related examples in the same category
1.  GraphicsDevice: getConfigurations()
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.