• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem 2 window display

 
Nouf Nassri
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

I have 2 window (choice) of 1 contains a JList (filled with: animals, cars, houses, ....) I wish I click on an item to display the 2nd window (display) containing the images of items.

For example if I clicked on item car must show all images of cars, and if I clicked on item animal show all images of animals.
the problem is: if I clicked on the item should display the car 2nd window (Display) contains images of cars and if I clicked on the 2 nd time window (display) another car window appears I am worth only display a single window contains images of cars.



Thank you
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the last response in each of these two earlier threads of yours (to which you never did reply)
http://www.coderanch.com/t/497686/GUI/java/add-panel-other-panel
http://www.coderanch.com/t/495546/GUI/java/JFileChooser-jar

The same applies here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic