[Bluej-discuss] Resize Window

Tom Murtagh tom at cs.williams.edu
Wed Nov 8 04:48:10 GMT 2006


Ted,

Assuming that your program is defined to "extend  
FrameWindowController", you can resize the program window by  
including a statement of the form:

setSize( width, height );

in your begin method or any of the other methods of your class.

Tom Murtagh



On Nov 7, 2006, at 11:15 PM, Ted Power wrote:

> Hi -
>
> I'm a student working with BlueJ, and I cannot for the life of me  
> figure out how to resize the canvas window with ObjectDraw.  I'd  
> like to do something like canvas.resize(200, 400) but as far as I  
> can tell, no such method exists.  Any advice?
>
> Thanks,
> Ted
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss



More information about the bluej-discuss mailing list