One idea that I thought was great was keeping everything on either side of the bed symmetrical. The height the large paintings and lamps give to the room take you eye away from the window and make them all work together.
This designer used curtains to help hide the window and soften it, almost gives the window a headboard feel. I thought it was an interesting treatment, how the curtain rod cuts across the middle of the top window. I'm always at a loss on how to treat a window like this I like this idea for any room of the home.
Another treatment I haven't seen- top down blinds. They help with privacy while letting light and the view in. I wonder how pricey those are??
Here all the furniture is kept below the window line, the window becomes the headboard. Simple and effective. I only wonder how early these people wake up with the sun shining in their face?
How about pretending you don't have a window at all? Here the curtains cover the window completely when not in use.
There were some other good ideas in the article if you want to check them out.
Have you dealt with your bed under a window? What was your solution?