The code you posted is not compilable so its hard to step through it. That being said I can throw out a few pointers. First, if you add components to a container (say for example a JFrame) after the...