Compatiblility with Rhno+Continuations fork: added Main.setSize(Dimension)

This commit is contained in:
igor%mir2.org 2004-10-15 20:06:22 +00:00
parent 326fb69d8a
commit ab4159c06b

View File

@ -178,6 +178,14 @@ public class Main implements ContextListener
debugGui.setSize(w, h);
}
/**
* @deprecated Use {@link #setSize(int, int)} instead.
*/
public void setSize(java.awt.Dimension dimension)
{
debugGui.setSize(dimension.width, dimension.height);
}
public void setVisible(boolean flag)
{
debugGui.setVisible(flag);