Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
542 views
in Technique[技术] by (71.8m points)

swing - Sliding Notification bar in java (a la Firefox)

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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).

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...