Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Sanny Newsgroups: comp.lang.java.programmer Subject: Updating code from jdk1.2 to recent jdk SE 1.6 Date: Tue, 10 Jul 2012 10:07:26 -0700 (PDT) Organization: http://groups.google.com Lines: 63 Message-ID: <725fbc58-fab7-4e70-9f1a-b2e393fdeca9@googlegroups.com> NNTP-Posting-Host: 122.175.148.215 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1341940138 29935 127.0.0.1 (10 Jul 2012 17:08:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 10 Jul 2012 17:08:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=122.175.148.215; posting-account=TwCTWQgAAAC7hf6GV7aTGIk6mVGkiZ5c User-Agent: G2/1.0 Xref: csiph.com comp.lang.java.programmer:15918 Well I had a program/ Applet in Java 1.2 I want to migrate the code to Java 1.6 Will I see any benefit with the migration? 1st what are the things that I can use/ redesign for improvements? Does compiling with a new version improve performance? I want to use Vectors/ Search / Sort Algorithm/ etc. Currently I put data in String. Will it be faster if I define Classes instead? Problem with classes is that searching/ copying an array of classes is very time consuming. Every time a class is to be sent to a function a new class has to be created and all values need to be copied. .clone() is also very time consuming. Does the latest version of java has done something So that I can use Classes efficiently? Also String comparison and assignments are inefficient. lastly will I be able to use setchar() in Strings? using Bufferstring is very problematic. Sending String and Class Variables to functions is very time consuming. Does new version of Java gives any good things for Applets? Can I use multilingual? Can I use 3d graphics in Java Applets? ============== Topic Changed. I want some way for my website visitors to automatically download java when not present in their system instead of them getting puzzled. My web Visitors are very common people with no tech knowledge. And they do not want to risk by downloading Java. As they think Java may create problems? How can I download JVM and give them in a .zip folder? Current version of Java is too techy for common man to download? What if their firewall do not allow it? I find out of 10 people visiting my site only 1 uses my programs rest run away without playing. Is there any way to show them a flash screen and show download progress? Instead of the Java Logo? Can I create 4 applets that run on a quad core cpu each using different cores? How to assign different thread to different cores in Java. Can I force the program to use a separate core? Sothat program take use of all four cores in CPU instead of rinning in single core at 1/4th speed? Bye Sanny Wandering in Java Forest. Fireman Game: http://www.GetClub.com/Fireman.html