}catch(Exception e){
}
An empty catch block is a mistake. Add a call to the printStackTrace() method to show any errors.

Another problem is the frame is shown (setVisible) BEFORE anything is...