Java 9's other new enhancements, Part 4: Multi-release JAR files

Java 9's other new enhancements, Part 4: Multi-release JAR files

A Java 9 extension to the JAR file format makes it easier for third-party libraries and frameworks to use language and API features from newer Java releases

03/22/17

Java 9's other new enhancements, Part 3: The Process API

Java 9's other new enhancements, Part 3: The Process API

Updates to the Process API will make it easier to obtain a process ID, get additional information about a process, and execute actions on process termination

03/04/17

Java 9's other new enhancements, Part 2: Milling Project Coin

Java 9's other new enhancements, Part 2: Milling Project Coin

JEP 213 builds on Java 7's Project Coin with small language improvements and additions for your Java programs

02/13/17

Java 9's other new enhancements, Part 1: Factory methods in Java Collections

Java 9's other new enhancements, Part 1: Factory methods in Java Collections

The module system and REPL tool have received widespread attention, but Java's newest release has much more to offer. This series introduces other enhancements to Java 9, beginning with the new convenience factory methods in the Java...

02/01/17

Are checked exceptions good or bad?

Are checked exceptions good or bad?

While some programmers believe checked exceptions are a good language feature, others would disagree. In this post, Jeff introduces checked exceptions, then dives into the debate.

11/16/16

Read-only properties in JavaFX 8

Learn how to expose internal modifiable properties as external read-only properties in JavaFX 8

10/19/16

Interface-based applications in Java 8

Interface-based applications in Java 8

Java 8's support for static methods in interfaces made it possible to create interface-based applications. Learn how in this short blog post.

09/26/16

Immutable empty collections and iterators

Immutable empty collections and iterators

Find out why the java.util.Collections class includes static methods that return immutable empty collections and iterators.

08/02/16

When is a character not a character?

The values assigned to char variables don't always represent characters. Learn all about characters and their variables in this edition of Java Q&A.

05/08/16

Exploring JavaFX's Application class

JavaFX's Application class is an essential part of every JavaFX application. Learn about the various capabilities that Application makes available.

04/14/16

The six roles of the interface

Java's interface language feature often puzzles newcomers to this language. Jeff eliminates this mystery by presenting the six roles that interfaces play in the Java language.

03/14/16

Checkers, anyone?

Checkers, anyone?

Explore the design and implementation of a Swing-based library that provides the user interface for the game of checkers.

12/13/15

JavaFX improvements in Java SE 8u40

JavaFX 8u40 added support for accessibility, standard and custom dialogs, a spinner control, and text formatting. Learn about these new capabilities in this installment of Java Q&A.

10/11/15

NIO.2 cookbook, Part 3

Leverage file-visitor, glob/pathmatcher, and directory-watcher features for advanced tasks in NIO.2.

06/01/15

NIO.2 cookbook, Part 2

Test out these recipes for obtaining paths and retrieving path information, testing files and directories, and working with attributes in NIO.2.

03/19/15

NIO.2 cookbook, Part 1

Start here, with three recipes for copying, deleting, and moving files using NIO.2.

02/11/15

Invokedynamic 101

What do you need to know about using invokedynamic and the java.lang.invoke API package in Java 7 and Java 8?

12/16/14

Customizing cell rendering

Swing's javax.swing.JList component and JavaFX's javafx.scene.control.ListView control let you customize how their various cells are rendered. In this post, I show you how to accomplish these tasks.

11/01/14

The ultimate superclass, Part 3

This post completes a three-part series in which I present and answer questions about Object and its methods.

06/26/14

The ultimate superclass, Part 2

The ultimate superclass, Part 2

Java beginners are invited to dig deeper into Java's ultimate superclass with this introduction to Object's finalize(), getClass(), and hashCode() methods.

04/15/14

Load More