Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 10th, 2003, 09:27 AM
Nitin67 Nitin67 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 1 Nitin67 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old October 2nd, 2003, 10:47 AM
squaresilver squaresilver is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Northwest, UK
Posts: 16 squaresilver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #3  
Old October 2nd, 2003, 12:04 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,299 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 37 m 10 sec
Reputation Power: 105
Send a message via ICQ to christo Send a message via Yahoo to christo
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreSoftware Design > Array in an applet


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT