Listing 14 shows the cell renderer for a JList.
清单14显示了JList的单元呈现程序。
The toString method is what the JList calls to display the results.
JList调用toString方法显示结果。
In Figure 6, the Swing JList displays the names of the product categories at their associated ids.
在图6中,Swing JList对应于ID显示了产品种类的名称。
应用推荐