A new "window"? Would that be a JDialog or a JFrame? You already know how to open a new JFrame, in fact you posted an example of that here. But you might well be better served by a JDialog to allow entry of customer information.
Joined: Feb 26, 2009
I want it to be another JFrame but I cant get 2 JFrame's to work. When I click the button I need to enter the customers info and have some buttons to select what I want to do with this info.
Joined: Jun 09, 2003
the text of each button indicates the screen's of your other frames might be detailed.
if so, using a CardLayout() might be a good soution:
build each screen via a JPanel add each panel to a cardLayoutPanel
add the cardLayoutPanel to a frame
each button's actionPerformed simply shows the relative screen