Java:创建滚动子菜单 [英] Java: Creating a scrolling submenu

查看:52
本文介绍了Java:创建滚动子菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个程序,其中在特定子菜单下列出了大量项目.我正在寻找一种滚动浏览它们的方法,因为菜单现在比屏幕大.以前我见过顶部和底部图标是箭头的菜单,当鼠标悬停在上面时,分别向上或向下滚动.有人可以向我解释如何做到这一点吗?或者只是如何向我的子菜单添加滚动条?

I have a program in which I have a large amount of items listed under a specific submenu. I am looking for a way to scroll through them, as the menu is now larger then the screen. Previously i have seen menus in which the top and bottom icons are arrows which, when the mouse hovers over, scroll up or down respectively. Can someone please explain to me how to do this? Or else simply how to add a scrollbar to my submenu?

谢谢!

推荐答案

另一个选项可能是 Darryl 的 菜单滚动.

Another option might be Darryl's Menu Scroller.

这篇关于Java:创建滚动子菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆