How to repaint only a portion of the Screen

We are developing Graphics based application where we need to call repaint method again and again. Now repaint method repaints the whole screen but we want it to repaint only a portion of the Screen. Is it possible ? if yes then how ?
Thanking You in Advance,
Ketan

repaint()
Repaints this component. This method causes a call to this component's update method as soon as possible.
repaint(int�x,y,width,height)
Repaints the specified rectangle of this component.
Noah

Similar Messages

  • How to delete only a portion of the data portal?

    This would be similar to DataDelAll() command, but allow only a limited set of data to be removed.
    For some background:
    - DIAdem 9.1 sp2
    - LabVIEW interface calling various DIAdem/VBS scripts
    Using DIAdem to format reports based on various scripts and TDM data
    results, I would like to be able to load and unload various data files
    (TDM) while maintaining the specific report layout (also TDM) data in
    the portal.  Two (ugly) options seem to be:
    a)  load entire data result set into the portal (including layout instructions) and process, or
    b)  keep track of layout state variables and clear portal/reload layout/load next data
    This would all be easy if there is a command to enable the right-click delete... behavior of the data portal UI.
    Thanks!
    James

    Hello James,
    there are diufferent commands you can use to delete only a portion of the data in the portal. You can delete single channels, a selection of channels, or entire groups with these three commands:
    Call ChnDel(ChnArg) - deletes one channel
    Call ChnDelete(ClpSource) - deletes a selection of channels
    Call ChnSDel(ChnArg1, ChnNo) - delets a number of channels
    Call GroupDel(TargetGroupIndex) - deletes a group including its channels
    To create a selection of channels as argument for the second command, have a look at the functions
    ChnSelAdd, ChnSelGet, ChnSelCount
    Regards
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • How do I record only a select portion of the screen?

    I can't seem to figure out how to record only a select portion of the screen.

    QuickTime X screen recording feature doesn't offer anything except the entire display.

  • How to lock portions of the screen

    I'm new to Contribute, having just downloaded a trial
    version. The software seems geared toward the user who will be
    making modifications to websites, not an administrator. How do you,
    as an administrator/site designer, lock certain portions of the
    screen so that users can't fiddle with them? Does this only work
    with Dreamweaver templates?
    The sites I design do NOT live on a server of mine. Each
    customer finds their own host, so I cannot control access that way.
    I also build very basic, barebones sites using tables and
    external style sheets, and do all of my HTML coding from scratch. I
    do not use Dreamweaver or any other WYSIWYG HTML packages, so I
    don't work with templates. Can such locks be implemented using my
    style of site design?
    Thanks for any info. I searched the Adobe site but couldn't
    find an answer.

    You could try faking a Dreamweaver template by copying DW
    template tags (i.e. HTML comments) into your source pages. But DW
    is a great page and site building tool and you can always try a
    trial version of it.

  • How to fetch only WebI reports from the repository

    How to fetch only WebI reports from the repository, where in we have Deski reports also in the repository.. any macro??

    here is the query to fetch only webi reports:
    Open Administration Launchpad (.Net / Java) from:
    Start >> All Programs >> BusinessObjects XI Release 2 >> BusinessObjects Enterprise >
    Click on the 'Query Builder' under 'Administration Tools' on the left pane.
    Logon to Query Builder using Enterprise Administrator credentials.
    Run the following query for Web Intelligence Reports:
    SELECT SI_ID, SI_NAME, SI_OWNER FROM CI_INFOOBJECTS WHERE SI_KIND='WEBI'
    Thanks,
    Srikanth.

  • My iTunes on my windows 7 pc works.  However, when I try to get to the iTunes store it only loads halfway but the screen only says iTunes store.  How do I fix this?

    My iTunes store works on my windows 7 pc. However when I click on the iTunes store it only loads halfway and the screen just says iTunes store. How do I fix this?

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    Now launch your iTunes and see if it is working now.

  • How do you zoom in on a portion of the screen in Captivate 8?

    As the title says, I can no longer figure out how to zoom in on a portion of the screen using Captivate 8. Adobe, of course, had to change it from version 7. How does one go about doing it?

    Zoom Area is under the big Objects button.

  • I bought my iPhone5 4 months ago and now the camera is not working, it only displays black in the screen. I've tried reset, restore for how many times but still the problem is not being resolve. Any help from you Apple team?

    I bought my iPhone5 4 months ago and now the camera is not working, it only displays black in the screen. I've tried reset, restore for how many times but still the problem is not being resolve. Any help from you Apple team?

    There is no Apple here, this is a user to user forum.  When you said you restored, then you restore as NEW?
    If you restored as New and still the problem persiist, then it time to take a trip to the Apple store.

  • Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    The Firefox [https://support.mozilla.com/en-US/kb/Page+Zoom Page Zoom] feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox, as with some other browsers.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • HT201317 i have recently installed icloud on my pc & have activated photo stream on my iphone.  only a portion of the photos from my phone are now available on my pc.  Why haven't they all transferred over?

    i have recently installed icloud on my pc & have activated photo stream on my iphone.  only a portion of the photos from my phone are now available on my pc.  Why haven't they all transferred over?

    When you turn on photo stream on a device that is the source of photos, only the photos you take in the future will sync to the stream, not the photos currently in the camera roll. 
    When you turn on photo stream on a device or computer that will receive photos from other devices, only the photos that have been on the servers for the past 30 days will sync, all older photos have been deleted from the servers.
    To sync camera roll photos that weren't part of photo stream, you need to sync them manually using itunes.

  • I purchase songs and only a portion of the song was down loaded?

    HELP - I purchase songs and only a portion of the song was down loaded?

    Other people have been having similar problems with songs over a number of days, I assume that there has been a problem with Apple's servers.
    Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting the incomplete tracks from your iTunes library and redownload them via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.
    If you aren't in a country where you can re-download music or if they re-downloads in the same state then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find those songs and use the 'Report a Problem' link.

  • How to specify only possible owner of the VM in Hyper-v cluster (Windows 2012R2)

    Good day,
    We want to prevent the migration of
    virtual machines between the cluster nodes in indows 2012R2 Hyper-V cluster.
    How to specify only possible owner of the VM in Hyper-v cluster (Windows 2012R2) ?
    SQL clustering

    Hi Al_leont,
    I ask if your using FOCM or SCVMM as you configure possible owners in different places. As well as possible owners you can also configure preferred owners, affinity and anti affinity groups and placement rules.
    To configure possible owner in FOCM you select the VM you want to configure, then in the bottom window select the resources tab (change from summary tab). Right click the Virtual Machine Resource, then select the Advance Polices tab of
    the popup window. You should then see the hyper-V nodes as Possible owners.
    In SCVMM you just right click on the VM and select properties, then settings form the popup window.
    Preferred owners, affinity and anti affinity groups, placement rules are configured in other locations or by PowerShell.
    Kind Regards
    Michael Coutanche
    Blog:   
    Twitter:   LinkedIn:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • I hit the magnifier tool on my iPad and now it only shows a portion of the screen and I cannot get out of it. What do I do?

    I hit the magnifier tool on my iPad and now it only shows a portion of the screen and I cannot get out of it. What do I do?

    Which magnifier tool are you referring to? If you double-tap with 3 fingers it should disable zoom. Then you can go into Setttings>Accessibility>Zoom and turn it off.

  • The itunes window on my desktop fails to display the bottom most portion of the screen unless I go into full screen mode.  Why?

    As a follow up to provide more detailed information.
    I have a MacBook as well running 10.6.8.
    When I open itunes, the window I expect to come up does.  It has a scroll that allows me to view all of my playlists, as well as hit the new playlist icon at the bottom of the screen, etc.
    On my Macbook Pro running 10.7.4, when I open itunes, there's no scroll bar, no icons at the bottom most portion of the screen.  The only way that I can see the new playlist icon AND be able to view/scroll through all of my playlists is to enter full screen mode....very inconvenient as the window is now fixed (can't be moved out of the way) without exiting full screen mode.
    I'm a multi-tasker...rearranging windows, making one application active while another moves into the background, is my typical work situation.
    Thanks in advance for any help that you can offer.
    Michael

    This issue can be caused by the Babylon Toolbar 1.1.8 extension
    See:
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Phone works great but when on a call proximity sensor kicks in turns off the screen. When I pull the phone away from my head screen is still blank. The force hangup/lock is the only way to bring the screen back on

    hi,
    phone works great but when on a call proximity sensor kicks in turns off the screen. When I pull the phone away from my head screen is still blank. The force hangup/lock is the only way to bring the screen back on.
    I purchaged it before one month onl. So i wont understand how it comes. Please help me. I am waiting for you reply.

    "Your face is so ugly, it broke your phone!" Ha ha. Get it? How I was joking there? About your iPhone not working correctly after... <sigh>
    But seriously, you said the situation only happens when you have been on a long call, so maybe the iPhone is just autolockng?

Maybe you are looking for