Java Practiceshttp://www.javapractices.com/
Java techniques, examples, and practices.
enHirondelle Systemswebmaster@javapractices.com (John O'Hanley)webmaster@javapractices.com (John O'Hanley)Sat, 5 Oct 2013 00:00:00 GMTSort table rowshttp://www.javapractices.com/topic/TopicAction.do?Id=162
Much needed modernization of this topic.
Indicate table sorthttp://www.javapractices.com/topic/TopicAction.do?Id=161
Topic deleted, taken over by 'Sort table rows'.
Observers and listenershttp://www.javapractices.com/topic/TopicAction.do?Id=156
Much simplified, without overly lengthy code.
Swing threadshttp://www.javapractices.com/topic/TopicAction.do?Id=153
Updated to emphasize SwingWorker over the older styles. Briefer snippets.
Timershttp://www.javapractices.com/topic/TopicAction.do?Id=160
Updated to use briefer code snippets.
Preferences dialogshttp://www.javapractices.com/topic/TopicAction.do?Id=154
Shortened the example. New image reference.
Reading and writing text fileshttp://www.javapractices.com/topic/TopicAction.do?Id=42
Updated to emphasize JDK 7.
Reading and writing binary fileshttp://www.javapractices.com/topic/TopicAction.do?Id=245
Updated to emphasize JDK 7.
­ Time execution speedhttp://www.javapractices.com/topic/TopicAction.do?Id=85
Updated to use nanoTime. Add some remarks on the difficulties created by just-in-time compilation.
­ Abstract factoryhttp://www.javapractices.com/topic/TopicAction.do?Id=128
Improved example, without the excess verbiage.
Don't pass 'this' out of a constructorhttp://www.javapractices.com/topic/TopicAction.do?Id=252
Clarified the terms, and clarified the three ways a 'this' reference
can be used in a constructor. (Thank you Andrew Sackett.)
Use @Override liberallyhttp://www.javapractices.com/topic/TopicAction.do?Id=223
Clarified how @Override grew to be applied to interface methods as well,
as of JDK 7.
Don't use tab charactershttp://www.javapractices.com/topic/TopicAction.do?Id=244
Added a note about negative indentation. Recommended indentation of 2-4 spaces. Added quote from Code Complete.
Measure application performancehttp://www.javapractices.com/topic/TopicAction.do?Id=36
Now mentions the new Java Mission Control tool, that comes bundled with the JDK (7u40).
Open file in native directoryhttp://www.javapractices.com/topic/TopicAction.do?Id=260
New topic. Open and access a file residing in the same directory as
the class that uses it.
Nest classes with carehttp://www.javapractices.com/topic/TopicAction.do?Id=261
New topic. Prefer static nested classes if possible.
Enumerates the various kinds of nested classes.