Painting and using different Layers

Hi,
I have to develop a Swing interface where i have to do lot of painting,
Like there will be a background which will be showing some strips with different colors, which will be stable,
On this background I have to draw some rectangle , off different size,
and add the function so the user can click on the rectangle and drag it and drop it
I have to develop a kind of scheduling , like microsoft scheduler or take a look at the following example
http://www.ilog.com/products/jviews/demos/activitychart/index.cfm
I need some help in finding some tutorial on how to use different panes in JApplet , like th layered panes, the glass panes etc
Any advice on developing such an Applet
Ashish

Hi Shannon,
I already have subclassed JPanel and override the paintComponent method to do all the painting , but the problem i am having is there is a lot of painting and when ever i move the mouse over it repaint method is called and so there is chance that the applet will not work if the graphics card of the user is not good,
Can u point me to some example where a RepaintManager() is used,
also i want to use layers so i can avoid the repainting of the background even if the user clicks on it, or drap and drops the rectangle drawn
Ashish

Similar Messages

  • My mum is always using my iPad and I want to set mode if you like that she can log in as some one different and use apps she likes and I can use a diFferent log in and use different apps and stuff

    My mum is always using my iPad and I want to set mode if you like that she can log in as some one different and use apps she likes and I can use a diFferent log in and use different apps and stuff

    iOS 7 does not support multiple user accounts like you want.
    If all the apps are different, you could set her up with her own page of apps, then just show her how to get to her apps page, or just buy her an iPad for herself.

  • When booting up I cannot get past the light blue logo with spinning disc. I have tried it with the install disc and using different keystrokes, i.e. "shift, s, c, o, " please advise. thank you in advance.

    When booting up I cannot get past the light blue logo with spinning disc. I have tried it with the install disc and using different keystrokes, i.e. "shift, s, c, o, " please advise. thank you in advance.

    The system on the original install dic is probably looking for the original video card.
    It may be possible for someone with the right skills to make an install disc for you with the driver for your new card.
    As I recall from my early days of being a Macuser, If you held down a key, (spacebar?), while starting it would open a dialog to take you through a monitor setup.

  • I have just updated my Ipod to the latest ios.(deleting everything) and using different sources to get my music back it seems that every time i select multiple/individual songs on itunes i can change artwork but will not show up on my ipod?

    I have a windows 8 computer and have recently updated my ipod to the latest ios and it has wiped my Ipod clean except for my photos. whilst trying to get my music back using different sources like CD's and stuff i cant seem to get any album art to load on my Ipod? I can go on itunes and highlight single/multiple items and change the artwork and my computer will confirm it but when I look on my Ipod it doesnt display any art work or allow me to change the artwork that is already there? i need help please!

    Album artwork can be added/changed on songs via the iTunes Get Info menu item from the File menu. Note that music that you loaded from CDs will not have any artwork. If you want to aquire artwork you can try the File menu item Library > Get Artwork or you can download artwork from the internet, etc. Note that just changing artwork on your computer won't affect the iPod until you sync.
    If the artwork is correct on your computer iTunes then delete all the music on your iPod by syncing with iTunes with no music selected. Then reload the music onto your iPod by again syncing with iTunes with all the music you want selected.

  • Installing and using different software on different computers of Master collection simultaneously

    Question:
    If i purchase the "Adobe Creative Suite 6 Master Collection",
    Can i install and use the different software on different computers simulataneously?
    example:
    Can i use photoshop cs6 on machine 1
    and then illustrator cs6 on machine 2
    and then indesign cs6 on machine 3
    all simulataneously?
    Thanks

    No. It's not possible. You have 2 activations that are valid for all apps and that is that. Read the EULA
    Mylenium

  • I phone won't charge! neither from my I mac nor from the wall and using different cables!

    My iphone ran out of battery completely and know it won't charge at all it's dead. Won't charge from my Imac nor from the wall. I tried even tried using different cables. What else can I try?

    Lawrence Finch wrote:
    If you charge it with your computer and your computer goes to standby it will stop charging. For overnight charging you should use the AC adapter.
    That's not entirely true, when I upgraded to Leopard I found the phone continues to charge even after my Powerbook is asleep.

  • How can you save data to a spreadsheet and use different worksheets in the spreadsheet?

    I am trying to save data to a spreadsheet.
    Each set of test data needs to be saved under a different worksheet. Is this possible and how can I do it?

    As the example that Dennis pointed out, this can be done using activeX. In addition to that example I have another that demonstrates how to create a new workbook with multiple worksheets and save data to each of them. I hope that between the two you can get an idea of what to do.
    Brian
    Attachments:
    xlexample.vi ‏66 KB

  • Report Painter and use

    Hi Experts,
    I have requirement wherein I want to use Report Painter to derive output for a company code.I have got 2 Company Codes which are used in Report Painter but I want to do the configuration for the 3rd Company Code as well.
    Can someone please guide me what are the prerequisites required to do the same.
    I also observed that when a Financial Document is getting posted in SAP system 3 other docs like
    Profit Center Doc.
    Controlling Doc &
    Spl Purpose Ledger Doc is also getting posted.But for my 3rd Co Code No Profit Center Document is getting posted.
    Can someone please advice a solution for the same.
    Regards
    Rahul

    Hi,
    Thanks a lot for the prompt reply but can you please advice what exactly do i need to do in Transaction GB02 and GCBA since i checked the settings for both the Co Codes and in 1 CO Code No Ranges defined are as follows and nothing is defined in Second Co Code.
    Year         From No                    To No
    1992     0000100000     0000199999
    9999     0000300000     0000999999
    1992     0000200000     0000299999
    9999     0001000000     0009999999
    I do not know how but the 1st CO Code has Profit Center Doc generated as 0016897961 which does not fall in the No range defined.
    I copied No range from Co Code 1 to Co Code 2 still no Profit Center Doc is generated
    Request you to please look into the same.
    Regards
    Rahul

  • Is it possible to split a song and use different chords?

    Hi there, I have the following question. I see that I can choose a chord type for the song (eg C Maj or C Min).
    However, if I want to change this further in the song it changes for the full song.
    How can I include a split in the song in such a way that I can use multiple tone types through the song?
    I now do this through transponing up and down but that is probably not the proper way.
    Thanks,
    Arnoud

    The "Transposition Track" will allow you to transpose selected measures to a new key for all tracks and loops in parallel.  Add the transposition track from the menu bar: Track > Show Transposition Track.
    Then command-click in the track to create contro points and drag the line between the control ppoints up or down to transpose that region of the song.
    For example, to transpose a part of a song by a fifth:
    Or, if you only want to transpose a part of a rhythm track, transpose selected loops in the track for a chord progression.

  • Webstart and using different JRE's

    Hi,
    I have a few questions about Webstart.
    1) When will webstart support JRE version 1.4 ? (at the moment if i create jnlp application and specify the required runtime to be j2se=1.4 I get an error because webstart can't find that JRE on the sun website, even though i already have the 1.4 JRE installed and have configured webstart to use it)
    2) Is it possible to tell webstart to use a non Sun JRE ( like an IBM JRE ) ?
    Keith Bishop

    Hi,
    I have a few questions about Webstart.
    2) Is it possible to tell webstart to use a non Sun
    JRE ( like an IBM JRE ) ?
    Yes, we are using an IBM JRE with Webstart.
    Currently we have a jnlp process that runs before our application jnlp process that basically rewrites the javaws.cfg file to configure jws to use only the ibm jre which our application requires.
    I am looking into moving that same process within the installer extension of our application. The challenge will be to see if while running our application via jws, reconfigure jws to use the ibm jre and have everything work ok. I don't yet know if this will work.
    Beth

  • HT3131 MY macbook pro will only connect to my TV when the lid is open. When I close it to enter clamshell mode my TV gives me a error message saying "resolution mismatch." i have tried switching cables and using different TV's. it works on all my other TV

    It works all my other TV's except my Magnavox 39 inch. i have made sure that the resolutions are compatible.

    Yay! Solved my own question; just did a hard shutdown, worked like a charm! Funny, didn't before. But who am I to question salvation?

  • I can't open 2 or more HD videos at the same time without having a lag or FPS drop. Chrome does this perfectly, I have 8 Gb RAM and use Win 7 64 bit. Firefox 16

    I watch youtube or different kinds of livestreams in HD a lot. And the last 2-3 month I'm having a problem watching them in Firefox because I get a terrible lag if I open 2 or more tabs with a video inside. As I am typing this message I've had about 5 terrible freezes (I've opened 2 livestreams in my tabs). Sometimes they just crash and I have to restard the page to go on watching, but most of the time they are lagging like they are lacking FPS and it's unwatchable. I tried cleaning the cash and using different versions of Firefox, I tried the new beta (17) and it's the same. My personal opinion is that Shockwave Flash fault, but I reinstalled it and tried different versions so many times, so I don't know what else to do. I like using Firefox, but I can't do it anymore. I tested the same thing in Chrome and it didn't lag a bit even if I open 10 videos at a time.
    My system is:
    Videocard PCI-E 2.0 ZOTAC GeForce GTX 560Ti, ZT-50303-10M, 1Gb, GDDR5
    HDD SEAGATE SV35 ST31000526SV 1Tb SATA III
    Motherboard ASUS P8H61/USB3(3.x) LGA 1155
    DDR3 8 Gb
    CPU INTEL Core i5 2500, LGA 1155
    Windows 7 64 bit
    Firefox 16.0.1

    Hi m1rAcLe,
    try to [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems#w_turn-off-hardware-acceleration Turn off hardware acceleration] in Firefox and "disable the hardware acceleration" in the Flash Player too :
    http://helpx.adobe.com/flash-player/kb/video-playback-issues.html
    http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html
    also try to [http://kb.mozillazine.org/Flash#Disabling_Protected_Mode_in_Flash_11.3 Disabling Protected Mode in Flash] (the link is for 11.3, do the same for 11.4), see the same in "Last resort" in the next link from adobe forum http://forums.adobe.com/thread/1018071?tstart=0
    thank you

  • When using different profile, I can't get it cleared for security

    Due to trouble with Flash, I changed/added a ff profile.
    When I then tried to sign in to yahoo, I got screen saying for security purposes I had to verify my ID. I had a choice of several methods, text or voice to cell, email to different email.
    I tried both texting my cell and getting email. Both times, I got code. I typed it in and clicked on 'submit'. Nothing happens.
    The image remains the same. It looks like I did not click at all. I have repeated this, sometimes clicking 8-9 times. still no change.
    In order to reach my yahoo mail, I had to go back to my earlier profile. I may as well change back to old profile and as changing did not solve the problem with flash.
    But I would still like to know what is going on/ how to fix it.When I travel and use different computer, I have to do this, verify ID. I want to know how to force the verifcation through.
    Thanks

    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there?

  • Had Elements 9 on previous laptop using Win7 but new laptop using Win8 does not load my original disc; as now using  Lightroom 5 and only need Layers in 9 so12 not necessary

    silver Surfer Bill
    my current laptop uses Win 8  I have tried to instal my Elements 9 Disc that I used on previous laptop using Win 7, but am not having any success!
    I am using Lightroom 5 but feel I could use the layers facility in 9 and without going for 12.  Can anyone help?  Adobe say they do not support 9!

    Click here:
    If you don't see that, try a different web browser.

  • HT204407 my 2 daughters and I are sharing one icloud.  I am trying to set up and use find my friends with them, but it won't let me.  It says I can't send a request to myself when I send one to her email address, which is different than mine.  What am I d

    my two daughters and I have iphones.  I am trying to set up and use find my friends with them. We have 1 icloud, but different emails.  When I send a request it states that I can't send a request to myself.  What am I doing wrong

    Sharing an Apple ID is never recommended for these reasons.
    They can create their own: http://appleid.apple.com and you can add them at the addresses they use for their ID.
    Sharing an Apple ID is not recommended because all of your data gets merged and when it gets deleted from one device, it deletes from them all, such as Contacts.
    iCloud Guide

Maybe you are looking for

  • Unable to open a new page  with transparent background.

    I must have hit something (or maybe several things), because suddenly I can't open a new page in Photoshop (CS2). I can see it's picking up  the white background color (from the lower left corner of the tool menu), but I can't figure out how to chang

  • How do you change the address bar to a larger font?

    All font in the address bar and various windows seem much smaller. I went in to general preferences and chaged some font details, but it doesn't seem to affect the address bar. Is there any way to change the size?

  • Enough RG1 balance is not available to issue the Goods

    Hi All I am getting this error when I run "India - Excise Invoice Generation" Request by entering the Delivery Id. The Log file of the request showing this error ORA-20199: Enough RG1 Balance is not available to issue the Goods. But when I check the

  • ODI Migration for 10.1.3.5 to 11.1.1.3 failed with Importing object

    ODI Migration from 10.1.3.5 to 11.1.1.3 failed DB Repositories -Oracle 11.1.0.7 I am trying to upgrade ODI 10.1.3.5 to 11.1.1.3 version After running RCC and confirming that there are no issues I have run upgrade assistant utility I am getting below

  • Adobe Reader XI - print dialog box blank - Windows 8

    Using the latest version of Adobe Reader XI, The print dialog box either comes up blank as shown in file 1 and I have no control over printing. OR it comes up with all the labels missing, see File 2 - yet I can control some features by clicking on th