问答题

【参考答案】

第1处:PopupMenu popup
第2处:switch(evt.getStateChange())......

(↓↓↓ 点击下方‘点击查看答案’看完整答案、解析 ↓↓↓)