简体   繁体   中英

Drop Down menu in java?

I created drop down list using java. But i am not aware of creating drop down menu like as Sliding menu. Is it possible create the drop down menu using java?

Do you mean a File menu at the top of the screen?

If so you should look at the class JMenuBar .

Here is a tutorial on how to create them in Swing.

如果有人在AWT中寻找相同的东西: java.awt.Choice =下拉菜单

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM