Solved

Java Toolbar

Posted on 2013-05-12
7
247 Views
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
Layoutexample.png
0
Comment
Question by:CloudStrife209
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
Comment Utility
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.
0
 

Author Comment

by:CloudStrife209
Comment Utility
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.
0
 
LVL 35

Expert Comment

by:mccarl
Comment Utility
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.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
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
http://docs.oracle.com/javase/tutorial/uiswing/misc/systemtray.html
0
 
LVL 16

Expert Comment

by:krakatoa
Comment Utility
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.
0
 

Author Comment

by:CloudStrife209
Comment Utility
while that is true, this is the request that has been put forward, i'm just trying to solve it.
0
 
LVL 16

Expert Comment

by:krakatoa
Comment Utility
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.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
count11 challenge 6 47
stringclean challenge 26 54
thymeleaf natural templating vs JSP 2 23
github account with ecipse 1 15
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now