Getting a circle to become a button

I have an image of a circle I was wondering if anyone knew how I could make this a button?
Ellipse2D.Double head1 = new Ellipse2D.Double( 80, 30, 65, 100 );
      graphics2D.setPaint( Color.red );
      graphics2D.fill(head1);

you can subclass a JButton and put the code above in the paint method

Similar Messages

  • Can't add music my iPhone from iTunes.  When I try to drag a song over to my phone, I get the circle w/ the syncing line through it, but it does not update/load.  [Manually manage music and videos] is checked. And, this is the only Mac I have ever used to

    Can't add music my iPhone from iTunes.
    When I try to drag a song over to my phone, I get the circle w/ the syncing line through it, but it does not update/load.
    [Manually manage music and videos] is checked. And, this is the only Mac I have ever used to add music to my phone.
    Also, just updated the phone's software today, and iTunes' software is already up to date.

    Hi Gregg,
    Have you tried resetting the device (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). Once the Home screen redisplays, see if your Music app is behaving normally.
    Cheers,
    GB

  • How does this happen: The picture of recent apps you get when double clicking the home button showed in Settings-Wifi that I had been connected to a network I have not been near for two months. Its not a recent "image" of Settings-Wifi. Can anyone explain

    How does this happen: The picture of recent apps you get when double clicking the home button showed in Settings-Wifi that I had been connected to a network I have not been near for two months. Its not a recent "image" of Settings-Wifi. Can anyone explain?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • Adobe photoshop elements 9 . i cannot get the circle to appear on clone stamp tool and spot healing

    adobe photoshop elements 9 , i cannot get the circle  to appear using clone stamp tool and the spot healing brush . i`ve tried restating my computer and unloading and loading the adobe disc . but still no good .

    I had this same problem and was searching for answers. I also prefer using a circle instead of crosshairs. I hope you've figured it out by now, but, if you haven't, here is the answer (I am using Elements 9, but, it should work for other versions I think):
    1. Open up Elements Editor, Click on Edit, Click on Preferences, Click on Display & Cursors.
    2. Under Painting Cursors, select Full Size Brush Tip
    3. (optional) - if you want crosshairs within your circle, then also select Show Crosshair in Brush Tip.
    4. Click ok.
    Now use the brush, and it should have a circle to use.
    P.S. Sometimes if you have your Caps Lock key on, that removes the circle as well.

  • In Mail, how do I get rid of the blue&white button that appears extreme right of Mail addressing pane (To)? What's its function?

    In Mail, how do I get rid of the blue&white button that appears extreme right of the addressing pane (To)? What's its function?

    malmaloney wrote:
    Thanks Meg. Trouble is it disrupts emails addresses being keyed in - that is, not from the Contacts book...
    How so?  You trying to type over it? If you keep typing the addresses drop below to next line.  I have tried and tried to make it disrupt anything without success.

  • HT1386 I've encountered a problem while synching my entire library. After synching I've noticed that only half of my library is playable on my iPhone. And a red circle with a Stop button appears next to the songs that didn't sync. Why is this happening?

    I've encountered a problem while synching my entire library. After synching I've noticed that only half of my library is playable on my iPhone. And a red circle with a Stop button appears next to the songs that didn't sync. Why is this happening?

    media in the itunes lib but not connected when the sync take part will fail in this manner
    media in a not supported format on ios will fail to sync
    http://www.apple.com/iphone-5s/specs/
    Audio formats supported: AAC (8 to 320 Kbps), Protected AAC (from iTunes Store), HE-AAC, MP3 (8 to 320 Kbps), MP3 VBR, Audible (formats 2, 3, 4, Audible Enhanced Audio, AAX, and AAX+), Apple Lossless, AIFF, and WAV
    User-configurable maximum volume limit

  • How do I get back the 'open new tab' button (+ sign at right end of tabs) in Firefox 4 ?

    How do I get back the 'open new tab' button (+ sign at right end of tabs) in Firefox 4 ? I realize there is a 'new tab' button at the right end of the toolbar but I like the new tab function placed next the tabs ?

    See also:
    *Tools > Options > Privacy > History: "Remember search and form history"
    *https://support.mozilla.org/kb/Form+autocomplete
    The "Use custom settings for history" setting allows to see the current history and cookie settings, but selecting that setting doesn't make any changes to history and cookie settings.<br />
    Firefox shows the "Use custom settings for history" setting as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.<br />
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".<br />

  • My Iphone remains in silent / vibrate mode only. How do I get it to ring.  The button is turned on correctly and I have re-set the phone

    How do I get it to ring.  The button is turned on correctly and I have re-set the phone

    If you feel you have been ripped off, you should take the matter up with
    the person who sold you the iPhone. Perhaps Amazon can assist since
    the iPhone was not correctly described.

  • When i try to see some of my photos the photos appear and when i click on the individual photos I get a circle with an exclamation point. What's going on?

    Why am I getting a circle with an exclamation point when I try to acces my photos ?

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Can I get the circle graphs back in Activity Monitor in Mavericks?

    Can I get the circle graphs back in Activity Monitor in Mavericks?

    No, the Disk Usage and Memory Usage pie charts are gone. Also gone is the Memory Usage Dock icon. (New graphs are much more useful, imo.)

  • I have the lengthy code for a PayPal button. I tried to past it in an iWeb welcom page and all I get is the code. No button. Can you help me?

    I have the lengthy code for a PayPal button. I tried to past it in an iWeb welcome page and all I get is the code. No button. Can you help me?

    OT

  • I have bought an iPad 2 recently but when i open itunes, i only have 3 buttons. (downloads, itunes U, podcasts) how do i get the music, music videos etc. buttons?

    I have bought an iPad 2 recently but when i open itunes, i only have 3 buttons. (downloads, itunes U, podcasts) how do i get the music, music videos etc. buttons?

    Reinstall iOS via iTunes on your computer.

  • I get a circle with a slash when I hit f8, F9 or f10 to backlight keys

    My keyboard back lighting doesn't work much but I reset PMU and PRAM then suddenly it worked. Now though, about an hour later, if I hit any of the keys I get a circle with a slash as if it is turned off, illegal, or not installed. Anybody know what it means? I have the backlight checked off in the energy manager.
    I'm confused.
    Also, the lower memory slot is kaput.
    thanks,
    Connie

    I fixed it by putting the install disk in and verifying/repairing the disc and the permissions.
    The memory slot was not repaired. I understand it was a problem with some powerbooks but the repair program ended in July 2008.
    Connie

  • HT1338 get new mail in all accounts button doesn't work

    Clicking on the 'get new mail in all accounts' button in Mail doesn't work (after a few seconds it beeps).  I have to close the app and re-open to receive mail. I also have my account setup to automaticaly receive every 1 minute, but that doesn't work either.

    I have this problem, too.  Did you ever resolve it?
    Jim

  • I can't see the circle and central round button when I drag for Radial Filter.

    I have upgraded to LR 5.7. Suddenly I can't see the circle and central round button when I drag an area for Radial Filter. I also can't see the starting round button when I try to use Adjustment Brush.
    My system is OS X Yosemite Version 10.10.1, MacBook Pro (Retina, 15-inch, Early 2013), 2.7 GHz Intel Core i7, 16 GB 1600 MHz DDR3, Intel HD Graphics 4000 1024 MB

    Try pressing "H" for show/hide pins. Will turn it on or off.

Maybe you are looking for

  • Application working fine with Emulator Not in N95

    Hi all, I am creating a video based application for N95 which enable running video(.3gp) in normal to rotate(90 degree) and display in full mode so i tried it with Adobe Device Central's Emulator and it is working fine (Note: Emulator was update on 2

  • How do i reload elements 9 when it says files are missing

    it tel me to reload but all the disc does is try to remove it and says i do not have right aurthrity

  • Can't sync Verizon V3 with computer

    Very frustrating. I finally found a phone I like, that takes the place of my long-lost Startac, and the iSync website specifically says it can sync addressbook and calendar with the V3. But not Verizon's, I guess. Verizon just brought out their V3. I

  • ADF code is exposed to the customer !!!!!

    Hello, I have a problem but don't really know if anyone has a solution to it, here it is. I'm developing a web application using ADF 11g and weblogic 10.3, my application is composed from multiple modules (sales, inventory, hr, etc.). I have customer

  • ORA-00932 (Inconsistent datatype) on BLOB field in a view using Forms 6i

    Hi I created a table having a BLOB column and populate it with images and also make queries on that table using form 6i but when I use a view to build a form which built on that table when I try to query I receive the following error : ORA-00932:Inco