Java jGrasp - JTree (part 2)
We continue our JTree discussion in this video. In part 1 we stopped at building the tree. Here we add the
Hashtable that contains the tree names and the URLs as key/value pairs. we built a JEditorPane that displays
the web sites. Finally, we added the actions associated with the leaf nodes.
Java jGrasp - Serialization - Lesson 2
Here we finish the application by providing a complete menu driven application that prompts
the user for options. Based on the user's selection, we trigger methods that save the ArrayList to a file using
writeObject in the ObjectOutputStream class, and retrieve the data from the file using readObject in the
ObjectInputStream class and display the result on the screen.
Java jGrasp - Serialization - Lesson 1
Description: In this video we continue our discussion on overloading/overriding by creating classes for employees
and managers. Then we move into serialization. We need a way to write objects into a permament store. However,
it is very tedious to write the objects one field at a time.
Java jGrasp - JTree and JEditorPane (part 1)
In this video we will build a JTree. The frame is composed of two sections: left (BorderLayout.WEST) and center (BorderLayout.CENTER). The left section contains a tree of categories (news, sports, and technology).
The user will be able to expend and collapse the tree.
Java jGrasp - DynamicTable
In this video I extend the discussion on tables by creating a table the inherits the functionalities
of the AbstractTableModel. The table slots will be filled using the formula Math.pow(r,c) where r is the
row and c is the column.
Java jGrasp - JTable Swing Component
In this video, I am going to discuss how to create a simple JTable. It is simple because the data displayed
within the table is static. We start by creating a JTable, adding the JTable to a JScrollPane, and finally
adding the JScrollPane to the frame.
Java jGrasp - JList Swing Component
In this video I start my discussion on Swing components, specifically we will be talking about JList.
We will create a ListFrame and build a list and a label within it. The list will contain numbers that
represent the font (from 6 to 18). The list will be added to the North portion of the frame and the
label will be added to the center portion.
Java jGrasp - Comparing Classes and Objects
We first continue the functionality in the Manager class. Then we move into implementing interfaces. An interface is a collection of abstract methods. The job of the class is to
implement those methods.
Java jGrasp - ClassesAndObjects - 2
This video continues our discussion of classes and objects. We start by adding more functionality to the Employee class.
Java jGrasp - ClassesAndObjects - 1
This is the first video of a Java series geared toward junior developers. I will
start by introducing jGrasp, the development environment used to write Java programs.