19.09.2015 Views

Prentice.Hall.Introduction.to.Java.Programming,.Brief.Version.9th.(2014).[sharethefiles.com]

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

39.7.1 JList Construc<strong>to</strong>rs, Properties, and Methods<br />

Figure 39.16 shows the properties and construc<strong>to</strong>rs of JList. You<br />

can create a list from a list model, an array of objects, or a<br />

vec<strong>to</strong>r.<br />

<strong>Java</strong>Beans properties with get and set<br />

methods omitted in the UML diagram<br />

javax.swing.JList<br />

1 1<br />

javax.swing.ListModel<br />

-cellRenderer: Lis tCellRenderer

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!