How do I make a multi windowed application. Meaning....one window(JFrame) then the user clicks a button and gets sent to another window(JFrame not messagedialogbox). Would I just code the new container and JFrame within the actionlister that the button uses? Thanks
posted 14 years ago
You could. Things might start to get ugly. Why not create a new class that defines the new frame that you want to create, then instantiate this other new class from the button's action listener?