Being a lifelong Star Wars fan this is a question that's pertinent, Star Wars doesn't care about physics but one of the few places we can invoke real science is in figuring out just how much power it takes to obliterate planets.
Planet and star simulations are generated using Universe Sandbox 2 http://universesandbox.com/