473,399 Members | 3,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Big Problem of the year. Reducing the desktop size.

myusernotyours
188 100+
Hi everyone.
I need an application that loads a window to the top of the screen -1 inch height.
The window should be always on top, but here is the catch. Every other window should appear below it. I.e no window should be covered by my small window above and this includes windows from other applications running. Infact even the desktop icons should never be covered by my small window above the desktop.

Can this be done in java alone and will someone pliz point me in the right direction.

Happy New Year!
Jan 10 '08 #1
6 1473
BigDaddyLH
1,216 Expert 1GB
Hi everyone.
I need an application that loads a window to the top of the screen -1 inch height.
The window should be always on top, but here is the catch. Every other window should appear below it. I.e no window should be covered by my small window above and this includes windows from other applications running. Infact even the desktop icons should never be covered by my small window above the desktop.

Can this be done in java alone and will someone pliz point me in the right direction.

Happy New Year!
I've never seen any window (Java app or not) that enjoyed this status. Have you?
Jan 10 '08 #2
myusernotyours
188 100+
I've never seen any window (Java app or not) that enjoyed this status. Have you?
Av been away for a while sorry.

Yes it has been done in C++. The window appears like a side bar. Am starting to think it can be done by installing hooks. The function in windows is SetWindowsHookEx. I don't know about hooks in Linux and was hoping for a purely Java implementation since I want independence.Am not sure the actual desktop window size can be reduced but by hooking messages to other windows, we can control how they get maximized. Could you point me to some function similar to the above for Linux? Then maybe i can use the JNI.

Here is an image of an application that is doing it. http://img272.imageshack.us/img272/3158/sidegj0.jpg

Thanks
Jan 22 '08 #3
Plater
7,872 Expert 4TB
I believe it has to do with "Docking", unsure how it is done. But I believe if you can get your window to DOCK to the top of the screen and act like a toolbar, you will get the desired effect. (The windows taskbar does this for example)
Jan 22 '08 #4
BigDaddyLH
1,216 Expert 1GB
I believe it has to do with "Docking", unsure how it is done. But I believe if you can get your window to DOCK to the top of the screen and act like a toolbar, you will get the desired effect. (The windows taskbar does this for example)
I don't know of any Java API that can do this. Does anyone know JDIC?
Jan 22 '08 #5
Plater
7,872 Expert 4TB
Maybe this will offer some help?
https://jdic.dev.java.net/incubator/...ock/index.html
Jan 22 '08 #6
myusernotyours
188 100+
Thanks. Seems possible that way!
Jan 23 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Salvador I. Ducros | last post by:
Greetings all, I was hoping someone might be able to point me in the right direction. I'm currently using std::vector to maintain several lists whose objects are of unrelated types (classes)....
0
by: Filipe Martins | last post by:
Hello to all. Ever had a problem when your print some reports in a printer other the one you use more frequently, in which the report width span more tban one page? I did, and didn't liked it. ...
1
by: Martin Dew | last post by:
I have a form which I want to dock to the side of a monitor (left or right), but I do not want the form to be covered by any other apps, I need to know how to control the desktop so that when my...
4
by: Patrick | last post by:
I have a tablespace that contains the LOB data for 3 tables which exist in other tablespaces. Even after reorging the LOB tablespace with the LONG option, the high water mark is still too high. I...
8
by: p175 | last post by:
Express C v9.1 I'm having a hell of a job trying to reduce the highwater mark for various tablespaces in Express C. DB2MART advises to reorg several tables with LONGLOBDATA and to disconnect,...
8
by: Jeff | last post by:
I have a db that has a couple of times closed Access completely when Saving work. So I usually compact and decompile and this seems to fix the problem. But not his time. It has come back again....
15
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
1
by: digidave | last post by:
I am keenly aware that my coding skills are extremely noob but please indulge me a second.. Take a look at these queries.. $sql = "SELECT DISTINCT year FROM _current_floats_config WHERE active =...
5
by: amitkgupta28 | last post by:
Hello friends, I am creating a side bar application like Vista Widgets for Windows XP. How can I reduce the active desktop area so that whenever a new or old window get maximized it occupy the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.