Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  Print  
  ack? Why does this code make my game freeze  (Read 1983 times)
0 Members and 2 Guests are viewing this topic.
Offline Soljaragz

Jr. Member
**

Posts: 55



« Reply #30 on: 2006-02-06 21:57:29 »

i did read javadoc along time ago to open a appletviewer
but
i changed my class path to jre  instead of jdk (by acc), thats why i couldnt get appletviewer to work until now
Offline Jeff

JGO Kernel
*****

Posts: 3535


Got any cats?


« Reply #31 on: 2006-02-07 15:44:08 »

Quote
So, I'm not lucky. Its the way its (AbstractList ) supposed to work. And yea the indices change, but only of those I already checked.

Okay,  you caught me wrong here Cool
Serves me right for trusting my memory rather thenr efferring to the docs.

Not all collection types however have the same behavior in this regard, of that im sure, so the One Safe Way for all collections is stil lto use an iterator Tongue

JK

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Pages: 1 [2]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.086 seconds with 19 queries.