Fixed SQL Statement error. Error was due to not using rs.next() in while
loop in ResultSet. Column is set to -1 so while next makes it 0 and then
it works. Still some issues with GUI(actually not showing at all).