Solved

JList interaction

Posted on 2000-05-11
1
314 Views
Last Modified: 2006-11-17
How can I change or  affect the contents (one or all the elements) in JList A by hitting one element in JList B?
0
Comment
Question by:amaral050799
1 Comment
 

Accepted Solution

by:
ninnu earned 20 total points
ID: 2827234
you have to add addListselectionListener() to the Jlist B and if a selection made to it call the setListData(Vector listData) method to change the JList A contents.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Weekend adv creator 3 54
Error in @AspectJ Based AOP with Spring 2 18
ejb on wildfly 5 30
Using jdbcTemplate.batchUpdate to improve INSERT performance 6 24
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question