By having computers inform it about you.What?! No windows? Why, then, how do you know you're in space at all?
I know it looks like playing with numbers on computers screen and certinly wouldn't make an interesting comic, but that is likely how I imagine space battles, should they ever occur.
You weapons will be able to fire at your opponent millions of kilometers away. You will have to compute a bearing for a target which is too small to see by a naked eye.
Similarly goes the case if you want to just travel, you plan your flight tragectory and speed... on computers.
Even some local maneouvers (e.g. docking) will be better done by computers.
And last but not least, the main bridge better be somewhere deep inside the ship, not on the front where it could be easily targetted by enemy fire or struck by some random high-velocity meteoroids (e.g. like in the beginning of "Pitch Black")
So what windows are good for, except for being a structural weakness and a possible source of radiation coming from outside (e.g. stars, other ship engines, nuclear explosion, etc)