Changed dbSelector to JoptionPane - ready to connect!