Results 1 to 3 of 3
Thread: Table/ArrayList of Images
- 04-22-2011, 05:15 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 2
- Rep Power
- 0
Table/ArrayList of Images
I was trying to create some kind of table of images. I have images that are loaded from internet and I would like to add them to some kind of table.
I was trying following:
Image[] enemyimg = new Image[10];
enemyimg[0] = enemy;
Enemy is Image type. NetBeans is giving error: "Cannot find symbol". I dont understand what is wrong with that. Whats wrong with this syntax? Is there any way to make a table or ArrayList of images?
- 04-22-2011, 05:23 PM #2
Member
- Join Date
- Nov 2010
- Posts
- 44
- Rep Power
- 0
the only thing i can deduce from that snippet is that the variable "enemy" is not defined or has no declaration and reason for getting "Can't find Symbol" error.
- 04-22-2011, 05:44 PM #3
Member
- Join Date
- Apr 2011
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
how to mark on 2 images at a time,both images are on different JPanel
By smitharavi in forum AWT / SwingReplies: 0Last Post: 12-16-2010, 05:14 PM -
how to scroll 2 images at a time(synchronisation),both images are on different panels
By smitharavi in forum AWT / SwingReplies: 4Last Post: 12-16-2010, 04:32 PM -
how to add Arraylist filter for a jsp page showing results from a servlet-Arraylist
By alok_sharma in forum Java ServletReplies: 7Last Post: 11-22-2010, 01:26 PM -
How to repaint.refresh the table (table model) with combo box selection envent
By man4ish in forum AWT / SwingReplies: 1Last Post: 01-08-2010, 06:19 AM -
ArrayList problem with images
By Cymro in forum New To JavaReplies: 2Last Post: 02-05-2008, 06:22 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks