Changed db selector to JFrame