How to add a data processing interface to a menu item in the drop-down list in the menu in the GUI interface with Java

CSDN Q & A 2022-02-13 07:54:22 阅读数:849

add data processing interface menu


Pictured , Make the content in the above figure into a drop-down event , Click Add teacher and an interface that can handle events will appear

Take the answer :

When the teacher interface has been added , Just listen to the click event of the drop-down menu , then new Just add the window

Other answers 2:

Realization ActionLinster event , Just create a new class instantiation .

copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you.