Before you can implement it, you need to add another panel to the application: one to hold the search results.
在实现它之前,需要在应用程序中添加另一个面板:用来显示搜索结果的面板。
The Add Viewlet panel will open at the top of the page (Figure 51).
添加的Viewlet控制面板将在页首打开(图51)。
Typically, you would create a JPanel to contain your application's UI elements, then add this panel to a JFrame.
一般情况下,您将创建一个JPanel来包含应用程序的UI元素,然后将该面板添加到J Frame。
应用推荐