[java] New API's in JDK 1.4!

Started by
13 comments, last by javanerd 22 years, 11 months ago
Some thoughts from reading the release notes and api docs:

1. I can''t believe that they actually have a Linux version released more or less concurrently with the Windows and Solaris versions! I''m going to have to wait till I get access to a broadband connection to download the thing, but still...
BTW, what happened to Blackdown?

2. What do you all think about the NIO API? I haven''t decided yet what I think about it but it is encouraging to see some more depth being added to Java networking.

3. The new API that intrigues me the most is the Image I/O API. Stuff that I am currently working on (like building a Huffman class to compress/decompress some images of a custom format), is already (mostly) there. Things like a plugin interface, low-level byte access, etc...

4. Finally getting access to fullscreen in the AWT! Mileage seems likely to vary for the different OS ports out there though. I thought the 1 line tip on how to get a mouse wheel working in Linux (at least in X11) was cool. The custom frame (they call it the "Undecorated Frame") interface seems cool also (I would definitely use it in my games!).

5. Then it seems that Sun has added some cool programmer utilities like a logging API and a new keyword for assertions. Would any of you actually use these? I''m not to sure as I haven''t tried rolling my own logging system and I haven''t bothered at all with assertions (I just test for null references where I need to to get a piece of code to run,...). And what about the Preferences API? The example doesn''t seem like anything new (at first I thought it was using some Reflection API magic where you hand the Preferences object the variable that you want to restore and it finds the appropriate value for you and *poof* you''ve initialized your class like that) though.

6. Regular expressions. Finally.

7. The Collections stuff- I''m basically ho hum about the new classes, etc... I am dissapointed that I didn''t find any tree classes in there.

Wow, Sun''s added a lot of stuff. What''s your opinions?



joeG

joeG
Advertisement
I stand corrected. I was wondering why they gave examples of how to use fullscreen when the jdk wasn't out. Does anyone know what the difference between a beta release and a RC release?

< edit >
< shitting brick >
79 megs for the jdk and the docs?
< /shitting brick >
< edit >

The fanatic is incorruptible: if he kills for an idea, he can just as well get himself killed for one; in either case, tyrant or martyr, he is a monster.
--EM Cioran

Opere Citato

Edited by - GKW on May 24, 2001 2:03:55 AM
"... we should have such an empire for liberty as she has never surveyed since the creation ..."Thomas Jefferson
Well,
I got it on my lil'' 56k modem at home. I removed the 1.3.1 version from my system and loaded it up.
Forte stopped working from that point on. I uninstalled it and reinstalled it (Forte) but still got no end of errors.

Anyone else have this problem? I know it''s a beta, but I actually LIKE using Forte for development.

Any suggestions on how to get this running would be dandy.

Eboz
My Forte screwed up too. Had to reinstall 1.3.1. Life sucks. The mouse wheel worked great though.

Anyone get those fullscreen demos to work?
One of the things listed in the release notes was that 1.4 didn''t work with Forte or Netbeans, but the netbeans 3.2.x release that''s coming out soon would work with the 1.4 beta. However, the beta is still missing a lot of things I consider important to be useful to me, so I''m not going to get it for at least one more beta...

This topic is closed to new replies.

Advertisement