Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 6 Features

 
Andre Bandarra
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A general question:

Are we allowed to use Java6 ?

http://www.coderanch.com/t/189286/java-developer-SCJD/certification/Which-Java-Version-used
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


Herman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic