Deciding Which Collection to Use: Java Collections Framework Video Tutorial, Part 12
How to decide which collection to use. Not only is this the first thing anyone needs to know when they’re planning to use a Java Collections class, but it’s also a favourite question of interviewers and examiners (although quite not … Continue reading
Java Multithreading: Swing and SwingWorker (Video Tutorial Part 15)
If you’re doing Swing (GUI) programming in Java, you might want to consider using the SwingWorker class for your multithreading needs. SwingWorker is a ferocious-looking but useful class that’s perfect for running stuff in the background while simultaneously updating progress … Continue reading
Using Iterators: Java Collections Framework Video Tutorial, Part 10
A look at using iterators in Java; how “for each” loops work and how to add or remove elements from a list while iterating through it. After starting the video, click the maximise button to make it fullscreen so you … Continue reading
Mastering Java Swing:Custom Components, Part 5
This is the fifth video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading
Mastering Java Swing: Responding to Button Clicks, Part 4
This is the fourth video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading
Mastering Java Swing: Adding Components, Part 3
This is the third video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading
Mastering Java Swing: Hello World, Part 2
This is the second video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading
Mastering Java Swing: Useful Resources, Part 1
This is the first video in a complete course on desktop and browser-based programming in Java. The complete course covers almost every major topic in Swing programming, including desktop applications, databases and animation. Get two more free videos plus a … Continue reading
LinkedList: Java Collections Framework Video Tutorial, Part 2
The second part of the tutorial series on the Java Collections Framework; in this tutorial I explain when to use LinkedList rather than ArrayList; we look at how the two classes work internally and I also explain a bit about … Continue reading
ArrayList: Java Collections Framework Video Tutorial, Part 1
The first part of a series on the Java Collections Framework, an absolutely vital set of classes for organising data in your code. In this part we’ll look at ArrayList; an expandable array. ArrayList is probably the most used and … Continue reading
Java Swing: Events (Video Tutorial Part 5)
A tutorial on how to implement custom events and how to deal with events generally in Java Swing applications. This tutorial shows you how to wire up your Swing app, so that the different parts of the application can communicate … Continue reading
Java Swing: GridBagLayout (Video Tutorial Part 4)
Conquer your fears of this, the most fearsome of the layout managers in Java, but also the most flexible and the most useful. Many Java programmers pretty much just use this one layout manager for everything. I explain step by … Continue reading
Java Swing: Panels (Video Tutorial Part 3)
How to add forms to your Swing application using JPanel. In this tutorial I show you how to begin to organise your Swing app and divide it into separate areas; in the next tutorial we’ll get onto actually using GridBagLayout … Continue reading
Java Swing: Adding Components (Video Tutorial Part 2)
A tutorial on adding components to your Swing applicatio. This tutorial covers buttons, text areas and BorderLayout. I also show you some useful web pages, including the free WindowBuilderPro from Google and the Swing Visual Guide pages. In the next … Continue reading
Charts in Java Swing With JFreeChart
Java Swing, the GUI toolkit for Java, has no built-in graphing and charting package. Several free packages are available, the best of which is widely considered to be JFreeChart. JFreeChart is open source and free even for commercial use. So … Continue reading
Java Swing: A Hello World GUI App (Video Tutorial Part 1)
Interested in GUI programming in Java? In this tutorial I show you how to build up a minimal “Hello World” user interface (Swing) app in Java. After starting the video, click the maximise button to make it fullscreen so you … Continue reading