Mega Code Archive

 
Categories / Java Tutorial / SWT
 

Returns the maximum allowed depth of icons on the display

import org.eclipse.swt.widgets.Display; public class MainClass {   static Display display = new Display();   public static void main(String[] args) {     System.out.println(display.getIconDepth());   } }