Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #15918

Updating code from jdk1.2 to recent jdk SE 1.6

From Sanny <softtanks22@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Updating code from jdk1.2 to recent jdk SE 1.6
Date 2012-07-10 10:07 -0700
Organization http://groups.google.com
Message-ID <725fbc58-fab7-4e70-9f1a-b2e393fdeca9@googlegroups.com> (permalink)

Show all headers | View raw


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





Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Updating code from jdk1.2 to recent jdk SE 1.6 Sanny <softtanks22@hotmail.com> - 2012-07-10 10:07 -0700
  Re: Updating code from jdk1.2 to recent jdk SE 1.6 Lew <lewbloch@gmail.com> - 2012-07-10 11:26 -0700
    Re: Updating code from jdk1.2 to recent jdk SE 1.6 Luuk <luuk@invalid.lan> - 2012-07-10 20:32 +0200
      Re: Updating code from jdk1.2 to recent jdk SE 1.6 Lew <lewbloch@gmail.com> - 2012-07-10 11:56 -0700
        Re: Updating code from jdk1.2 to recent jdk SE 1.6 Luuk <luuk@invalid.lan> - 2012-07-10 21:05 +0200
          Re: Updating code from jdk1.2 to recent jdk SE 1.6 Lew <lewbloch@gmail.com> - 2012-07-10 12:56 -0700
          Re: Updating code from jdk1.2 to recent jdk SE 1.6 Roedy Green <see_website@mindprod.com.invalid> - 2012-07-11 15:19 -0700
            Re: Updating code from jdk1.2 to recent jdk SE 1.6 Lew <lewbloch@gmail.com> - 2012-07-11 15:50 -0700
              Re: Updating code from jdk1.2 to recent jdk SE 1.6 Gene Wirchenko <genew@ocis.net> - 2012-07-11 16:41 -0700
                Re: Updating code from jdk1.2 to recent jdk SE 1.6 Lew <lewbloch@gmail.com> - 2012-07-11 17:03 -0700
            Re: Updating code from jdk1.2 to recent jdk SE 1.6 Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-07-12 00:51 +0200
        Re: Updating code from jdk1.2 to recent jdk SE 1.6 Arne Vajhøj <arne@vajhoej.dk> - 2012-07-11 23:13 -0400
    Re: Updating code from jdk1.2 to recent jdk SE 1.6 Sanny <softtanks22@hotmail.com> - 2012-07-11 00:27 -0700
      Re: Updating code from jdk1.2 to recent jdk SE 1.6 Silvio Bierman <silvio@moc.com> - 2012-07-11 13:12 +0200
      Re: Updating code from jdk1.2 to recent jdk SE 1.6 Lew <lewbloch@gmail.com> - 2012-07-11 14:02 -0700
        Re: Updating code from jdk1.2 to recent jdk SE 1.6 Lars Enderin <lars.enderin@telia.com> - 2012-07-12 00:06 +0200
          OT Google Groups formatting.  Was Re: Updating code from jdk1.2 to recent jdk SE 1.6 markspace <-@.> - 2012-07-11 15:16 -0700
            Re: OT Google Groups formatting.  Was Re: Updating code from jdk1.2 to recent jdk SE 1.6 Lars Enderin <lars.enderin@telia.com> - 2012-07-12 11:00 +0200
              Re: OT Google Groups formatting.  Was Re: Updating code from jdk1.2 to recent jdk SE 1.6 markspace <-@.> - 2012-07-12 10:36 -0700
        Re: Updating code from jdk1.2 to recent jdk SE 1.6 Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-07-12 00:54 +0200
          Re: Updating code from jdk1.2 to recent jdk SE 1.6 Lew <lewbloch@gmail.com> - 2012-07-11 16:25 -0700
  Re: Updating code from jdk1.2 to recent jdk SE 1.6 Roedy Green <see_website@mindprod.com.invalid> - 2012-07-11 15:15 -0700

csiph-web