Java Toolbar

Posted on 2013-05-12
Last Modified: 2013-05-19
Actually this isn't a direct question I'm just not really sure where to start. I want to create a small Java application that sits on one side of the screen and is always visible. Preferably when the user maximises other windows it recognises that this is taking up a certain amount of room and maximises up to the edges of it.

I've tried searching for help but I'm not really sure what to search for so this hasn't been particularly helpful. I've attached a file with a layout example of what i'm trying to do.

I have seen something like this done before but i'm not sure where
Question by:CloudStrife209
  • 2
  • 2
  • 2
  • +1
LVL 35

Accepted Solution

mccarl earned 500 total points
ID: 39160439
I would be highly surprised if this were possible. The issue is that even if possible it would quite "platform dependant" since the way this would be done in Windows, *nix, Mac, etc would all be different. I've even tried to find examples of doing this just in C/C++ and couldn't come up with anything.

Author Comment

ID: 39160440
this would be specific to windows as this is the only OS in use here and no intentions of allowing any other. So platform specific is ok in this case.
LVL 35

Expert Comment

ID: 39160462
So it sounds like the term "AppBar" is generally used for what you are after on a Windows system. In terms of Java support for this, the only thing I can find is JDeskBar but apparently the code is in a broken state and hasn't been updated for a couple of years. Depending on how keen you are, you may be able to sift through the source code that is available on that site and get a idea on how to do this yourself.
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

LVL 86

Expert Comment

ID: 39160699
Actually this isn't a direct question I'm just not really sure where to start. I want to create a small Java application that sits on one side of the screen and is always visible.
You'd be better off with
LVL 16

Expert Comment

ID: 39160900
Personally, unless this would be entirely for your own use, I wouldn't want an application to "tell me" how my desktop should be laid out, nor do I think would most other people. It's fundamentally contrary to the whole idea of flexibility when windowing applications.

Author Comment

ID: 39163272
while that is true, this is the request that has been put forward, i'm just trying to solve it.
LVL 16

Expert Comment

ID: 39163910
Then part of the solution should be to disabuse the requesters of the idea that doing it would be a good thing, cf inter alia, linen screwdrivers, charge of light brigade, C5.

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ForLoop Example 3 52
How to configure empty element in XML Document parser? 15 36
Cisco ASA: Java web start no go, asdm launcher no go 3 37
Java 8 to Java 6 8 20
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question