CodeProject.TV will close July 31. Remember to ensure you’ve watched or download your videos! Full details here.

Popup Menus: Mastering Java Swing Part 29

7m 28s
Download
Caveofprogramming

Cave of Programming

After working as a software developer and contractor for over 14 years for a whole bunch of companies including CSC, Proquest, SPSS and AT&T in the UK and... Read more

A tutorial on popup menus in Swing.

Learn how to create those little menus that appear when you right-click on things.

The JPopupMenu class
Intercepting mouse clicks
Introduction to mouse listeners and mouse events
The MouseAdapter class
A note on those pesky serialization id warnings in Eclipse