File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Java 6 Features Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Java 6 Features" Watch "Java 6 Features" New topic

Java 6 Features

Andre Bandarra

Joined: Jun 07, 2005
Posts: 17
Hello guys!

I�m on B&S, and doing it on JDK 1.6

I found two interesting features from 1.6 to be used so far.
The first one is in the Arrays class

I think its usefull when writing records to the data file, like the example below

The other interesting class is javax.swing.table.TableRowSorter<M>, which provide sorting and filtering using a TableModel. The result of a findByCriteria could be filtered by the TableRowSorter for displaying on the JTable.

What do you guys think? Do you know any other 1.6 feature that could make our lives easier?
[ July 31, 2007: Message edited by: Andre Bandarra ]

Eddy Paredes

Joined: Jul 24, 2007
Posts: 13
A general question:

Are we allowed to use Java6 ?
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi Eddy,

Yes, JDK 6 is allowed.

See instructions.html:

You may develop your code using any implementation of the Java 2 platform, but the submission that you return must have been tested and shown to work under a production (not development) version of the Sun Microsystems' Java 2 platform and that platform must not have been superseded by a new production version for more than 18 months by the time you make your submission.

I agree. Here's the link:
subject: Java 6 Features
Similar Threads
Recvn & Converting Data?
Add new row in JSTL table
IO operation
Cannot Figure Out This Syntax Error
Java endian and bit order and signed and unsigned and python and more confusion than I can deal with