|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Array in an applet
Hi
I'm working on a project that uses a combination of an array and an applet. I'm not exactly sure how to start out using array in an applet. Could someone please give me a example in source code of an array in an applet |
|
#2
|
|||
|
|||
|
Nitin67,
I think your request may be a bit vague, as in how you want to use the array. Is it an array within the applet only? In one of our applets, we have: String trace[]; which is then defined, using a parameter ( getParameter("") ) to send us no_traces trace = new String[no_traces]; We can then pass it values: trace[x] = value; Hope this helps, or if not, at least allows a rethink on the initial question |
|
#3
|
||||
|
||||
|
Is this just a Java question, or do you have an algorithmic issue to discuss here?
christo <finger poised on move button>
__________________
. Spiration channels: Free scripts, programming tutorials and articles Clearprop: UK microlight school, wiltshire |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Software Design > Array in an applet |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|