Principles of Programming Graphical User Interfaces, meeting 11
Java/Swing: models and relevant components: JList, JTree, JTable. Dialogs. 0:30 Generic MVC Model 4:47 Models in Swing 7:15 Demo project 8:00 List model implementation: GenerativeList.java 14:55 List selection mode 15:42 ListCellRenderer 24:54 Listening to list events (valueChanged) 28:37 Using JTree with DefaultMutableTreeNode, specifying creation code in Interface Builder 36:38 Listening to mouse clicks on JTree 41:05 JTable 45:17 Listening to value changes via TableModelListener 52:15 SpinnerModel (Fibonacci numbers) 1:04:00 JDialog to create custom dialogues. 1:11:19 FileViewer.java (JTree, JSplitPane, JTable) 1:18:52 GenerativeList.java (ListCellRenderer with custom graphics) 1:23:18 Summary slides
Java/Swing: models and relevant components: JList, JTree, JTable. Dialogs. 0:30 Generic MVC Model 4:47 Models in Swing 7:15 Demo project 8:00 List model implementation: GenerativeList.java 14:55 List selection mode 15:42 ListCellRenderer 24:54 Listening to list events (valueChanged) 28:37 Using JTree with DefaultMutableTreeNode, specifying creation code in Interface Builder 36:38 Listening to mouse clicks on JTree 41:05 JTable 45:17 Listening to value changes via TableModelListener 52:15 SpinnerModel (Fibonacci numbers) 1:04:00 JDialog to create custom dialogues. 1:11:19 FileViewer.java (JTree, JSplitPane, JTable) 1:18:52 GenerativeList.java (ListCellRenderer with custom graphics) 1:23:18 Summary slides