Well I doubt the Atom bomb being dropped in Germany would have made the Japanese automatically give up.
Looking at what really happened, it was a combination of Nukes, a possible soviet Attack and reasonable surrender terms (allowing the Emperor to stay) and such that caused Japan to surrender.