You could also check out GURPS Space (a role-playing book from Steve Jackson Games ). I wrote a random galaxy generator from the data in that book ages ago. The nice thing about it is that it goes into just the amount of detail you would need for a game, and even includes a table for randomly generating planets.
Ragnar
p.s. Link to book http://www.sjgames.com/gurps/books/Space/ just noticed that there is a star generator at the bottom of that page.
Ragnar
p.s. Link to book http://www.sjgames.com/gurps/books/Space/ just noticed that there is a star generator at the bottom of that page.