Results 1 to 4 of 4
Thread: Product View
- 12-16-2011, 11:15 PM #1
Member
- Join Date
- Jul 2008
- Location
- London (Kingsbury)
- Posts
- 41
- Rep Power
- 0
Product View
Hi everyone
I am visiting the site after log time because need some help
I have a product table in my database (product_code, product_name,product_price)
and I needed to display all the product in a JList with Product name and an Image or an icon
how can i do that? and when I add an new product an new icon should add to JList
how can i do that?
if anybody has link of an example please post it
thank you
- 12-17-2011, 12:45 AM #2
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
Re: Product View
You should NOT be using a JList.
See: How to Use Tables (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
- 12-17-2011, 12:56 AM #3
Member
- Join Date
- Jul 2008
- Location
- London (Kingsbury)
- Posts
- 41
- Rep Power
- 0
Re: Product View
Last edited by razmyasdfg; 12-17-2011 at 01:39 AM.
- 12-17-2011, 01:03 AM #4
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
Similar Threads
-
product of even numbers
By Basilisk3 in forum Java AppletsReplies: 10Last Post: 07-05-2010, 09:02 PM -
How enter this mode-gui/design-view/code-view
By lse123 in forum NetBeansReplies: 0Last Post: 02-28-2010, 09:09 PM -
pi and the wallis' product
By camper2 in forum New To JavaReplies: 5Last Post: 03-09-2009, 10:57 PM -
Finished Product: What now?
By Unome in forum Java AppletsReplies: 5Last Post: 02-11-2009, 10:41 AM -
Updating a view using actions in a seperate view
By xcallmejudasx in forum EclipseReplies: 0Last Post: 10-24-2008, 09:24 PM


LinkBack URL
About LinkBacks
Reply With Quote


Bookmarks