Don't use ==
to compare String, use .equals()
, also to show the JFrame
you want suppose that you have a CustomerJFrame extends JFrame you need to do:
if(choose.equalsIgnoreCase("customer") || choose.equals("1")){
JFrame customerFrame = new CustomerJFrame();
customerFrame.setVisible(true); // here how show your jframe.
}