|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Mass edit:
Ive fixed it somehow and at the second i have the following code: java Code:
It works and grabs the info @ entry: barcode and then palces this in Result but i cant use Result[0] Result[1] etc to get the resutls Anyone~ ? |
|
#2
|
|||
|
|||
|
Quote:
Result is an instance of the Item class and does not appear to extend or implement a collection/list. So natural you can't use it as a list. Maybe you meant to write items[0], itemes[1]? Well, you cant do that either. You can only (as far as I know) use the brackets on instances of the Array class, not on instances of the ArrayList class. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > DVD Rental Project |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|