Can someone tell me how to make a screen that I can use!

I have an overly long and complicated code that I was going to use for a game, but the first part, getting the screen to do something! Can someone show me the code for a simple screen (frame) that also renders the data given to it? If you know what I mean? If I could get this out the way I can move on and input things to the screen without hassle!

the width is 450
the height is 450 / 16 * 9

HALP