   [java] Question on dialogs
  Well this is what i want to do:Step 1:####################  ## #############   ## #Textfield  #   ## #############   ##  ##   ######## ##   #NEXT ># ##   ######## ##  ####################And when the user has written some string in the text field and clicks the next button, then the dialog changes to this:Step 2:####################  ##  You typed in:  ##  Text ##  ##  ## ###### ######## ## #Back# #Quit  # ## ###### ######## ##  ####################  How would i do that? 
  Don''t ask someone to do your homework for you.  Try looking up the answers yourself.  You can find all the answers you want below:The Java TutorialSun''s Java learning center First make it work, then make it fast. --Brian KernighanThe problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities.  We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)Do not interrupt your enemy when he is making a mistake. - Napolean Bonaparte ;  Nor is this my homework, ... ... neither have i requested code or a running programm.I just want to know where to start. Do i make this with a JOptionPane?   [edited by - Jonus on February 20, 2004 9:49:00 AM];  An option pane will probably not do what you want. If you are using layout managers it will be easy for you. Make one manager for the first apperance and one for the second then you can swap between them. ;quote:Original post by Drazgal   An option pane will probably not do what you want. If you are using layout managers it will be easy for you. Make one manager for the first apperance and one for the second then you can swap between them.   Ok thanks. I will try to figure out how to do this.I just thought i would have to use a JTabbedPane.... No i think it's card layout i was looking for. [edited by - Jonus on February 20, 2004 10:48:08 AM]