r1nzler
r1nzler

Reputation: 2533

How to make a "background" desktop program in java?

I was wondering how to make like one of those silent programs that run on your desktop but at the same time doesn't show a picture in your taskbar in the bottom?

This is kind of hard to explain since my experience is limited to making GUIs that show up in the taskbar and has the top bar with the minimize, maximize, and close buttons.

I want to make a program running that is something like this:

enter image description here

See those boxes? How would I create something like that with Java?

Upvotes: 2

Views: 1005

Answers (1)

Cyrille Ka
Cyrille Ka

Reputation: 15533

You can use translucent windows in Java: http://docs.oracle.com/javase/tutorial/uiswing/misc/trans_shaped_windows.html

It will depend on the capabilities of the platform (that you can query for). You will probably need at least per-pixel transparency, if not translucency. No idea if they are supported on both Windows 7 and Mac, you have to try.

Upvotes: 1

Related Questions