Delpes
Delpes

Reputation: 1050

Taskbar behaviour for Swing Application

I have a Swing Application that currently has the feature setAlwaysOnTop(true); and is docked to the top of the screen.

Now i can't find a way for other windows (Browser, IDE) to maximize in respect of my application.

To make myself clearer here is a picture: Visual of my problem

As you see, currently the maximized window is behind my Application. I don't want other applications to expand behind my application; just like maximizing a browser won't expand it past the Windows taskbar.

How can i realize the desired behaviour with JAVA?

If not possible directly with/in Java, are there other ways to achieve this?

N.B.: The App only has to work on Windows 7.

I guess the reason for my lack of search results was my inability to describe this behaviour. Any hints would be appreciated.

Thank you for your time.

Upvotes: 0

Views: 142

Answers (1)

Jobbo
Jobbo

Reputation: 1418

It is called an Application Desktop Toolbar

The system prevents other applications from using the desktop area used by an appbar

Which is very Windows-specific, making it difficult in pure Java.

Perhaps jdeskbar could be an option if you really have to do this in Java and not a more "Windowsy" language

EDIT: According to the jDeskBar project wiki, the current release is broken. Maybe it can be picked apart?

Upvotes: 1

Related Questions