From: <eli...@us...> - 2008-04-07 20:39:47
|
Revision: 2992 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=2992&view=rev Author: elias_naur Date: 2008-04-07 13:39:46 -0700 (Mon, 07 Apr 2008) Log Message: ----------- Added line about tracking parent size to Display.setParent javadoc Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2008-04-07 20:13:17 UTC (rev 2991) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/Display.java 2008-04-07 20:39:46 UTC (rev 2992) @@ -522,7 +522,8 @@ * null or a different parent. This generally means that the parent component must remain added to it's parent container.<p> * It is not advisable to call this method from an AWT thread, since the context will be made current on the thread * and it is difficult to predict which AWT thread will process any given AWT event.<p> - * If the Display is in fullscreen mode, the current parent will be ignored. + * While the Display is in fullscreen mode, the current parent will be ignored. Additionally, when a non null parent is specified, + * the Dispaly will inherit the size of the parent, disregarding the currently set display mode.<p> * */ public static void setParent(Canvas parent) throws LWJGLException { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |