This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 4989
    
    8

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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Problem 2 window display
 
It's not a secret anymore!