java中的滑动通知栏(a la Firefox) [英] Sliding Notification bar in java (a la Firefox)

查看:33
本文介绍了java中的滑动通知栏(a la Firefox)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Firefox 或 IE 中为我的 Java 应用程序实现一个滑动通知栏.但我不想重新发明轮子,我相信有人已经做到了并愿意分享.你知道这个在 java/swing 中的任何开源实现吗?

I would like to implement a sliding notification bar as the one in Firefox or IE for my java application. But I don't want to reinvent the wheel and I'm sure someone out there has already done it and is willing to share. Do you know any open-source implementation of this in java/swing?

推荐答案

Swing Hacks 称为从任务栏滑出笔记",看起来非常接近您想要的效果(有一个 preview 在谷歌的图书搜索片刻).

There's an example in Swing Hacks called "Slide Notes Out from the Taskbar" that seems pretty close to what you want (there's a preview on Google's Book Search at the moment).

该代码可从 官方 O'Reilly Swing Hacks 页面中的示例"下免费获得."不确定许可证是什么,但值得一看(第 6 章,hack 46).无论如何,Swing Hacks 是值得购买的,售价约为 20 美元.

The code is freely available from the official O'Reilly Swing Hacks page, under "examples." Not sure what the license is, but it's worth a look (Chapter 6, hack 46). At any rate, Swing Hacks is a worthy purchase at ~$20.

这篇关于java中的滑动通知栏(a la Firefox)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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