The Facebook messenger for windows 7 docks on the side of the screen and does not allow any other application to go on top of it.For example when i maximize another window , it does not cover the Facebook window.
How can i do this in java.
So far i can dock my window to the right, i set it undecorated and also always on top. But i want it to be like Facebook messenger so other windows can go maximize but only where it meets my docked window.
Here is a slimier question
http://www.dreamincode.net/forums/topic/278553-facebook-messenger-application-sidebar-like-docking-with-swing/
Related
I have a java swing application which is a ticker and it's on top of display. Now I need a way to place other windows applications when they are maximized to be below of my ticker. I mean I don't want my application to overlap other app' s toolbar.
Is there a way to implement such a functionality?
Something like in image, above is my ticker and a chrome can be maximized and the shouldn't overlap toolbar:
Thank you.
When you maximize an app, you are telling the window manager to "Set the size of this app to be the full size of the screen". Apparently you want that to be "Set the size of this app to be the full screen size, minus the size of my special app" - that is, place it just south of my special app. This is probably not possible without writing your own window manager.
I can't seem to find answer anywhere but How can I open URL in default-set browser, but not typical full screen browser but a small window in center of monitor?
I have Java application which uses Flickr API, when user logins it needs to open small window to show Authorize App or not, full screen huge window looks stupid.
Solution will be to use JavaFX WebView
https://docs.oracle.com/javafx/2/swing/SimpleSwingBrowser.java.htm
You can set the window size and window location to the main Frame.
Also If you like, it can integrate to your app like a internal panel or like a Dialog.
I am using JWindow to develop a bar which will appear on the top of the screen. The issue is that I want to dock it onto the screen and every other application should come under that. Currently the close and maximize buttons are going behind my application.
I have done some research, but I am unable to get it to work.
This question's answer gives me the idea but it doesn't really do what I want.
I am currently working on a calculator application for android. I am finding it difficult to conveniently take a screen shot of the app. So i have put my calculator on pause so I can write a simple screen shot app. It runs in the notification bar and when you click the notification the notification bar slides away and a few seconds later a snapshot is taken. This works perfectly. Now I would like to add functionality to take snapshots even for full screen apps. I have seen apps that put a sliding drawer on the screen onto of whatever app is running. That is there is always a button on the screen no matter what you are doing that when you click/drag it that sliding drawer came out. How did they do that? It should be a simple process to use a button instead of a drawer and when it's clicked hide it, snapshot and unhide it.
So my question bsically is
How can i put a usable button on the screen that stays above whatever app is running, even the homescreen
I realize I'm not answering your question directly, but if you simply want to get a screen capture of your application running, I would use ddms in your android tools directory. It has a menu option for getting a screen grab. I use it frequently.
Just go to Device > Screen Capture
More details here :
http://developer.android.com/guide/developing/debugging/ddms.html
We are building a program for visual impaired people, the aim is to replace some features of the screen, like colors, shapes or else. Currently, we have a full-screen window, we grab a snapshot of the screen (through the robot java library) and we reproduce it to the full-screen window. When we try to take the next screenshot, obviously the image we got refers to the current full-screen window. We need to get the back of the full-screen window, after an extensive research we had no success on find a way to do so.
Do you know of a library or a way to achieve this, possibly (but not necessarily) in java?
If you are in Windows 7 you could
1) have Robot click the Rectangle in the lower right corner (to the right of the clock). This will minimize everything.
2) Then have Robot take the screenshot
3) have Robot click the Rectangle again, returning all app windows to previous state
4) have Robot take the other screenshot showing with apps open (if you like)
Robot can do this very fast, but it will interfere with any mouse movement that the user is doing.
You can achieve something similar in other versions of Windows by using right click on the task bar and then selecting "Show the Desktop" and "Show open Windows" to return to the original perspective.