As the title suggests, I have added some commonly used windows methods to the CanvasPeer interface and their corronsponding implemention for the JOGL CanvasPeerImpl class.
The methods are:
void setSize(int, int)
void setSize(Dimension)
Dimension getSize()
void setTitle(String)
String getTitle()
void setLocation(int, int)
void setLocation(Point)
Point getLocation()
So instead of using:
((Frame) ((CanvasPeerImpl) cp).getWindow()).setTitle("AseTest");
use:
cp.setTitle("Ase Test");
and you’ll thank yourself when you port your app to LWJGL 
Will.
