How can  we see the desktop through a java frame by using JNI?

How to make a java frame transparent( so that we can see the desktop through it) by JNI? I have seen some code to take a snapshot of the desktop. But is there any code so that the desktop is fully or partially visible through a frame?
laks

Please take your time to write full words: "you" instead of "u", "your" instead of "ur". It makes your posts a lot easier to read, especially for those of us who don't have English as their native language.
You can not really "modify" the behaviour of a method by using a proxy, but you can create a proxy, direct all but one method to the original method and provide a separate implementation for the target method.
This way you'll have two objects with the same interface (not only in the Java sense, but all methods look the same), but differing behaviour: the original object and the proxy.
Now if you pass around the proxy instead of the original object, then it'll look as if you changed the behaviour of your object.

Similar Messages

  • How can I change the desktop wallpaper from Java?

    Hello!I'm coding an image viewer and I need to be able to set an image as an desktop wallpaper.What ways can be used to do this?Thank you

    If Java does have a platform-independent way of doing this, it'll be in the [JDIC (Java Desktop Integration Components)|https://jdic.dev.java.net/] library

  • How can I see the BCC adresses in my Drafts before sending to erase some?

    I have several "lists" of recipients to whom I send emails but sometimes I want to remove some before sending. How can I see the different addresses?

    If you are using 'Mailing Lists' and adding them via:
    Open Write message
    In Contacts Sidebar
    select address book
    select Mailing List name
    click on 'Add to Bcc'
    Then the list is added as the Mailing List name and not individual contacts.
    So you cannot edit indiviual names.
    If you do this via the 'Address Book'
    Select the mailing list name, then click on 'Write', then all contacts are added as individual names in a TO field.
    There are some addons that can add extra functionality.
    Have a look at these and see if they will do what you would like.
    * https://nic-nac-project.org/~kaosmos/index-en.html#explist
    * https://addons.mozilla.org/en-US/thunderbird/addon/notto/

  • My daughter has an iPod touch and is emailing a much older boy via text free app she downloaded. How can I see the conversations? Please help and thank you

    Please help me...My 12year old daughter has been talking to a older teenager through the text free app. How can I see the conversations? Also, there is a photo vault that is locked. What is that? Please someone help me. I don't know what else to do. I paid and downloaded a program that is supposed to tell you everything that's on the ipod but that was a joke. Thanks for your help.

    As long as you can't get a hold of the device, you can't do anything more than talking to your daughter about it.
    Erasing the device could also be an option to keep her from using apps you don't want her to have on her device.
    Try talking first

  • How can I see the MAD results in my planning book

    Hello Gurus:
    I'm setting up some statistical models in APO DP and running some test data through them.  How can I see the results of the MAD to verify if the models are calculating correctly?  I was hoping I can see the monthly MAD values in a key figure in my planning book?
    Does anyone know?
    Andrea

    Hello Andrea,
    As far as I know, I don't think there's a standard key figure or macro could acheive this.
    MAD or other errors in forecast are not saved as time series, so I don't know why you want to see them as time series.
    You can see the forecast errors in forecast result screen, and if you push comparision button, you can see forecast errors for several last runs.
    But I don't know how to put these value into planning book, unless you want to apply your own logic ...
    Best Regards,
    Ada

  • How can I see the stored files in cache?

    How can I see the stored files in cache? I need them!
    Thanks for helping me.

    The History menu lets you revisit the page where you can drag any page element from it.
    How would you sort through thousands (tens of thousands) of files found in a cache?

  • How can I see the relationship of tables in Microsoft SQL Server?

    How can I see the relationships of the tables? Exactly like what we see in Access. In Access if we select Database tool and then relationships, we can see how the tables are linked to each other. How can I find this option in SQL Server Management Studio?
    Thanks,
    GGGGGNNNNN
    GGGGGNNNNN

    Thanks,
    I could verify what you explained here. how can I overcome this message and resolve it when my database owner is not there:
    Message while starting with database diagrams of a attached/restored database
    If you have just attached/restored a database from another SQL Server instance. While accessing its database diagrams folder, you may get the following message
    It is an informational message and would prevent you from working on database diagrams. The message says that your database has no valid owner currently. Reason for this error is that database owner on a previous SQL Server instance does not exist here.
    To overcome this error just add the valid database owner through T-SQL or SSMS. Also verify the compatibility level of your database is correct for your SQL Server instance.
    I appreciate your help.
    GGGGGNNNNN
    GGGGGNNNNN

  • I tried to send a mail message to too many addees. when the rejection came back "cannot send message using the server..." the window is too long to be able to see the choices at the bottom of it. how can i see the choices at the bottom of that window?

    I tried to send a mail message to too many addees. when the rejection came back "cannot send message using the server..." the window is too long to be able to see the choices at the bottom of it. how can I see the choices at the bottom of that window?

    I tried to send it through gmail and the acct is  a POP acct
    I'm not concerned about sending to the long address list. I just can't get the email and window that says "cannot send emai using the server..." to go away. The default must be "retry", because although I cannot see the choices at the bottom of the window if I hit return it trys again... and then of course comes back with the very long pop up window that I cannot see the bottom of so I can tell it to quit trying...

  • How can we hide the Desktop when Dashboard is invoked?

    Widgets do not display elegantly against a cluttered desktop, nor even against a clean desktop with a busy photo for wallpaper.
    Is there any kind of preference (or etc.) that would cause the Desktop always to go hidden (go black, go solid color, intensely darken or etc.) whenever Dashboard is invoked?
    In other words, how can we stop the Desktop from "bleeding through" the display of our widgets?
    Many thanks.
    iMac core duo   Mac OS X (10.4.10)  

    Hi ChicagoLarry,
    No way in the system I know of.
    I found this Desktopple Pro widget on this site. I haven't tried it myself and am not a fan of haxies, so use at your own risk.
    EDIT:
    Actually the reviews on MacUpdate are quite positive. There is also a free version Desktopple 1.1
    -mj
    [email protected]
    Message was edited by: macjack

  • How can I see the selected tags in the tag bar clearly

    How can I see the selected tags in the tag bar clearly (they used to be in black, now they do not change color; a highlight or Bold would help)

    The History menu lets you revisit the page where you can drag any page element from it.
    How would you sort through thousands (tens of thousands) of files found in a cache?

  • How can I change the desktop language from english into german??

    how can I change the desktop language from english into german??

    See:
    *http://www.mozilla.com/en-US/firefox/all-beta.html

  • How can u change the desktop and taskbar to a classic windows view

    how can u change the desktop and taskbar to a classic windows view in 8.1

    Hi,
    If you mean to customize the desktop, you can use themes, desktop backgrounds, window colors, and screen savers to personalize your desktop.   
    If you want some free themes and desktop backgrounds to use, there are lots to choose from in the
    Personalization Gallery.
    To learn more about personalizing the desktop, see
    Get started with themes.
    Best regards
    Michael Shao
    TechNet Community Support

  • I used Time Machine to recover my Pictures folder. This created a folder called Pictures (original) but I cannot open it.  There is a do not enter roadsign, red disk and white bar on it.  How can I see the contents?

    I used Time Machine to recover my Pictures folder. This created a folder called Pictures (original) but I cannot open it.  There is a do not enter roadsign, red disk and white bar on it.  How can I see the contents?

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    chmod -R -N ~
    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens. You’re not going to reset the password.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • How can I see the old backups of my previous Macbook done by Time machine in a Time capsule with my new iMac?

    How can I see the old backups of my previous Macbook done by Time machine in a Time capsule with my new iMac? I've changed from a Macbook to a iMac because that one stopped working and I cannot use it anymore. I've been able to import all the data of the last backup of the Macbook when setting the new iMac, but I cannot access now to the old backups of the Macbook and there are information that wasn't in the last backup and I would like to recover. Thank you very much.

    Yes, you can ..
    Read Q17 here.
    http://pondini.org/TM/FAQ.html
    Strongly recommend his whole section.. 14-17 and read it carefully to understand the ways you can make TM work for you.

  • How can I see the contents in a Ref Cursor

    I have this code:
    CREATE OR REPLACE PACKAGE APOD_LOG.APOD_C3_LOG_API_PKG
    AUTHID CURRENT_USER
    AS
    type rc is ref cursor;
    PROCEDURE Fetch_Log_Spec
    in_LOCAL_IP_VALUE IN BINARY_INTEGER,
    out_RESULT_SET OUT rc
    END APOD_C3_LOG_API_PKG;
    CREATE OR REPLACE PACKAGE BODY APOD_LOG.APOD_C3_LOG_API_PKG
    AS
    PROCEDURE Fetch_Log_Spec
    in_LOCAL_IP_VALUE IN BINARY_INTEGER,
    out_RESULT_SET OUT rc
    IS
    BEGIN
    DBMS_APPLICATION_INFO.set_module(module_name => 'APOD_LOG.API_PKG',action_name => 'Fetch_Log_Spec');
    DBMS_APPLICATION_INFO.set_client_info(client_info => 'Calling with in_LOCAL_IP_VALUE = ' ||to_char(in_LOCAL_IP_VALUE));
    open out_RESULT_SET for
    select
    in_LOCAL_IP_VALUE as IN_LOCAL_IP_VALUE,
    10002 as PORT,
    APOD_CORE.UTIL_IP_PKG.IPAddressToIPValue2('''224.168.100.1''') as MULTICAST_IP_VALUE
    from
    dual
    union
    select
    in_LOCAL_IP_VALUE as IN_LOCAL_IP_VALUE,
    10002 as PORT,
    APOD_CORE.UTIL_IP_PKG.IPAddressToIPValue2('''224.168.200.1''') as MULTICAST_IP_VALUE
    from
    dual
    union
    select
    in_LOCAL_IP_VALUE as IN_LOCAL_IP_VALUE,
    10002 as PORT,
    APOD_CORE.UTIL_IP_PKG.IPAddressToIPValue2('''224.168.100.123''') as MULTICAST_IP_VALUE
    from
    dual
    union
    select
    in_LOCAL_IP_VALUE as IN_LOCAL_IP_VALUE,
    10002 as PORT,
    APOD_CORE.UTIL_IP_PKG.IPAddressToIPValue2('''224.168.200.123''') as MULTICAST_IP_VALUE
    from
    dual;
    DBMS_APPLICATION_INFO.set_client_info(client_info => 'Called Fetch_Log_Spec '||to_char(SQL%ROWCOUNT)||' row(s) returned with in_LOCAL_IP_VALUE = '||to_char(in_LOCAL_IP_VALUE) );
    END Fetch_Log_Spec;
    END APOD_C3_LOG_API_PKG;
    And I am trying to test it like this:
    DECLARE
    IN_LOCAL_IP_VALUE BINARY_INTEGER;
    OUT_RESULT_SET APOD_LOG.APOD_C3_LOG_API_PKG.rc;
    BEGIN
    IN_LOCAL_IP_VALUE := 23374048;
    -- OUT_RESULT_SET := NULL; How do I see this
    APOD_LOG.APOD_C3_LOG_API_PKG.FETCH_LOG_SPEC ( IN_LOCAL_IP_VALUE, OUT_RESULT_SET );
    END;
    How can I see the dataset returnd by the OUT_RESULT_SET in SQLPlus or Quest ScriptRunner?

    A ref cursor doesn't really contain rows but you can use them to reference a SQL statement that fetches the rows.
    Re: returning resultset from procedure...or pkg

Maybe you are looking for

  • Can't see external drive on desktop

    I have a iomega external hard drive connected via a usb cable. All of a suuden it's disappeared from my desktop. I can't locate it anywhere. It has all my music films, etc and whilst the music still plays via itunes I can't see the hard drive, which

  • How to deploy a webservice in a server

    Hi Team, Hi have created small webserver application using powerbuilder 12.5.1 (PB.net).I have deployed the application in my local IIS server.Its working finr.Now i want to deploy the same application in a server, so that it will be available for ex

  • Can I use sprites on images in Flash?

    Hi, I'm designing a calculator-like application in Flash for a school IT project. I made the layout in photoshop, and want to lay out the buttons with sprites (was just on CSS so addicted to those things xD ). I've tried googling and have found somet

  • Explain me about natural key

    Anybody explain me about natural key and what situations use this type of keys in RPD? Thanks in Advance.

  • Flash - Issue when adding scenes/keyframes

    Hi, very new to flash, Basically I have an existing site which is built in Flash CS6, each page is built on a single layer with one frame and is embeded into an HTML document. What I am trying to do is add a preloader to this sites pages, I have no i