unnecessary swing component variables removed after code review