I've developed an Image search engine which works on object.
The only problem is with displaying search results. Since, we are using java, so the UI is not very good for now.. can any one suggest how to display many images (search results) (number of images per page based on users preference) in a JFrame.
Also how to create a good GUI for displaying se开发者_开发百科arch results.
I advise you to use a JList, which allows you to display a list of items. By default, the items are displayed as strings, but you can easily customize the way an item is renderered: you just create a custom ListCellRenderer. A ListCellRenderer may well display an image within the list cell.
You may read the chapter about lists on the Java tutorial, and in particular the section about ListCellRenderer.
精彩评论