1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
blagie [28]
3 years ago
8

How can multiple items be selected at the same time in aJList?

Computers and Technology
1 answer:
Karo-lina-s [1.5K]3 years ago
5 0

Answer:

JList.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION)

Explanation:

JList provides for simultaneous selection of multiple items upon setting the selection mode to MULTIPLE_INTERVAL_SELECTION. The API call for this purpose is:

jlist.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION)

Once the selection mode has been set , we can select set of items in the list as follows:

jlist.setSelectedIndices({1,3,5});

This will select the items with indices 1,3,5 in the list.

You might be interested in
Which type of network is created when you use encrypted tunnels between a computer or a remote network and a private network thr
Deffense [45]
<span>Virtual private network (VPN) is the answer</span>
3 0
4 years ago
John would like to move from the city into the suburbs and has been saving up a large down payment for a home. which is the most
Murrr4er [49]
When we say suburban area, this is the area that is only a part of the city or a region that is distant from the city but not to the point that it becomes rural. So for John, the best way for him to save up in order to acquire a place to stay in the suburbs is to move first to the suburbs and rent a home for a year. This would give John enough time to decide whether he would like the suburban living and to look for a perfect location for his house.
8 0
3 years ago
When you use the Copy and Paste commands, you are accessing...?
vampirchik [111]
C!!!!!!!!!!!!!!!!!!!
3 0
3 years ago
Read 2 more answers
The term ____ refers to a wide variety of different database technologies that were developed in order to overcome some of the l
ella [17]
Database management systems are used to store and to access information.
In <span>the Relational Database Management System </span>(RDBMS), all the data is in the form of simple columns and rows in a table. Structured Query Language (SQL) is is the standard query language for RDBMS. Some of the disadvantages of RDBMS are: not enough storage area to handle data such as images, digital and audio/video, do not provide good support for nested structures,not much efficient and effective integrated support.
<span>The term object oriented database management systems (OODBMS)  refers to a wide variety of different database technologies that were developed in order to overcome some of the limitations of relational databases.</span>





5 0
4 years ago
What is a data display in which the frequencies of different values are represented by small round points?
polet [3.4K]

Answer:

Answer to the following question is Dot plot

Explanation:

A dot chart is also called the dot plot it is the type of a simple histogram like chart that is used in the statistic for relatively the small data set where the values fall into the number of a discrete bin.  

To draw the dot plots, count the numbers of data points falling in each of the bins and draw the stacks of dot that numbers high for each of the bins.

6 0
3 years ago
Read 2 more answers
Other questions:
  • How many times go you need to click the format painter button to apply copied formats to multiple paragraphs one right after the
    5·2 answers
  • A company needs to store its documents in one place, share news and information with all staff, and allow access for employees w
    7·2 answers
  • Data governance consists of? A. the processes, methods, and techniques to ensure that data is of high quality, reliable, and uni
    11·1 answer
  • . double x = 5; declares that x is a...............variable.
    14·1 answer
  • Identify two entities and 2 of their attributes from the given scenario.
    9·1 answer
  • Select the correct answer from each drop-down menu.
    7·2 answers
  • Electricity fact topic
    10·2 answers
  • Write the functions of F1 to F12 on the keyboard​
    5·2 answers
  • The BCD number for decimal 473 is( ). a) 111011010; b) 010011110011; c) 010001110011; d)0010110110​
    15·1 answer
  • What is the most used gaming keyboard in 2022?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!