aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Problem 2 window display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem 2 window display" Watch "Problem 2 window display" New topic
Author

Problem 2 window display

Nouf Nassri
Ranch Hand

Joined: Apr 22, 2010
Posts: 40
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

Joined: May 03, 2008
Posts: 4542
    
    5

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.


luck, db
There are no new questions, but there may be new answers.
 
 
subject: Problem 2 window display