Swing Chapter 18. (Advanced topics) Tables. Easy for reading, Click here!
18.2 Stocks Table: part I – Basic JTable exampleThis basic example shows how to construct a JTable to display information about stock market data for a given day. Despite of its simplicity, it demonstrates the most fundamental features of JTable, and serves as a good basis for the more advanced examples that follow.
Stocks and stock trading is characterized by many attributes. The following are selected for display in our example: