Changing RadioButton Icons

My application uses the Metal look and feel, and it doesnot allow the user to change lafs. I am trying to allow the user to scale application-wide font sizes by using the MetalTheme stuff. Changing the font sizes is easy, but this doesn't affect the appearance of the CheckBox and RadioButton icons (amoung others). So I have implemented by own Icon classes that I want to use, and after the user changes the theme I call the following functions to install my icons.
UIManager.put( "CheckBox.icon", MyThemeIconFactory.getCheckBoxIcon() );
UIManager.put( "RadioButton.icon", MyThemeIconFactory.getRadioButtonIcon() );Now, the kicker is that the check boxes work correctly. When the user selects a new font size, the check boxes scale correctly.
However, the radio button icon never changes size. It seems to always remain the same size as the initial (default) theme size. Does anyone know why it works for check boxes, but not radio buttons?? Also what would I have to do differently to get around this??
Thanks
reg

Nevermind, figured it out!

Similar Messages

  • Is there a way to change the icon associated with icloud account?

    Is there a way to change the icon associated with my iCloud account? It's currently a rose and i do not like it.

    Welcome to the Apple Support Communities
    Are you referring to your iCloud account picture or your user picture?
    It looks like you are referring to your user picture. To change it, open System Preferences > Users & Groups, press the picture box and choose the user picture you want from the ones that came by default. If you want to select a different picture stored on your Mac, drag that photo onto the picture box.
    If you want to change your iCloud account picture, open http://www.icloud.com and log in with your Apple ID. Then, press your name at the top right of the site and press the user picture. If you put the cursor on the picture box, you will see a button at the top of the box to change your picture

  • How I change the icon for iTunes songs?

    When I drag iTunes songs onto my desktop the icon is white with a gray iTunes icon. How can change this icon for all of my iTunes songs?

    Thanks Patrick. I used Control-Click on the actual audio file on my desktop opened the Show View Options menu and turned off the icon preview option. That changed my icons from gray with a white background to red with a white background which is exactly what I wanted.  You pointed me in the right direction. Appreciate it.

  • Change .pdf icons to generic icon instead of preview image

    How can I change the icon of a .pdf on the desktop to the more generic red and white Adobe logo instead of the little preview picture? With the old-style icon it's easy to determine what's a .pdf - with everything a little preview now (which is too small to tell anything, at least for me) I have to actually read the file name to see what type of file it is.
    Not the end of the world but it would be nice to change.
    thanks

    What app do you want your PDF files to open with when they are double-clicked?
    If you click on the Desktop, type Command-J, and in the Desktop's view-options window uncheck the box for "Show icon preview," you will convert all the Desktop icons to whatever image the default "Open with" app has provided. If you have set Adobe Reader as the default app for PDF files, the icon will look like this:
    !http://i55.tinypic.com/2r4hf6p.jpg!
    If you have set Preview as the default app, the icon will look like this:
    !http://i51.tinypic.com/264noea.jpg!
    I don't know of an automatic way to have PDF files display an Adobe icon and still have them open in Preview when double-clicked.

  • When I click on a link in an RSS feed it used to indicate that I'd viewed that particular link by changing the icon to the left of the link. It doesn't do that anymore. [SOLVED]

    When I click on a link in an RSS feed it used to indicate that I'd viewed that particular link by changing the icon to the left of the link. It doesn't do that anymore. This started happening right around the time I updated to Firefox 4, but may have been a little before that too. For some things, like news and web comics it's just a little annoying. For important things like looking for new journal articles for my job, it literally makes my job more difficult. So fixing this would make my day.

    I seem to have solved my own problem. When I disabled the add-on "Tab Renamizer" everything started working fine.

  • Change Dock Icons on OS 10.8.5

    Hi Mac Community!
    For all of us Mac lovers, the one thing we are fascinated with is the fact that Mac in notorious for giving the end user the power to personalize the computer's look and feel, as well as making commands extremely user friendly.
    This is not what I get from the last update to OS 10.8.5
    I want to change the icons on my dock, as I should being that I am the owner of a fairly expensive piece of equipment, but this seems impossible to do for the Finder icon. Is there any way this can be done without causing any problems in the system?
    Any ideas are appreciated! THANKS!

    You want to change the Finder icon or you want to remove the Finder icon from the dock. You weren't clear on that point

  • How to change the icon for print dialog?

    Hello,
    I have a JTable, and with the print() method, I'm able to bring up the Print dialog and successfully print the contents of the table. Example:
    myTable.print( JTable.PrintMode.FIT_WIDTH, myHeaderFormat, myFooterFormat );This works great, but one small detail I'd like to change is the icon in the top-left corner of the dialog. The icon is currently the default Java coffee cup icon, while the rest of my application uses my custom icon. I couldn't find any documentation in the API or tutorials that Java has listed which shows how to change the icon, so I'm not even sure if it's possible (but why shouldn't it be?).
    My question is this: Is it possible to change the default icon in the print dialog? Or do I have to either make my own print dialog somehow, or use a third-party print dialog?
    Thanks

    tjacobs01: Appreciate the assistance (despite your sass). I've already searched the API, tutorials, and this forum. I'm already well aware of the setIconImage() method for JFrame -- after all, that's how I set the icon for my other frames as I previously mentioned. However, I want to set the icon for the print dialog called from the print() method of JTable.
    How would I use setIconImage() for the print() method of JTable? The print() method returns a boolean value, not a JFrame, so I'm just not sure how to implement what you're saying.
    Thanks

  • How to change the icon of coffee on the titile bar

    Hi!
    I am having this problem that
    how to change the icon of coffee on the titile bar
    if someone know how please respond
    Asif

    Next time please post your question in the appropriate forum, since this forum discusses the Java3D API.
    The answer is use the Frame.setIconImage method.

  • How to change the icon for 'windows group' in Java 1.6 [Windows XP] ?

    Hello,
    I was wondering if there is a possibility to change the icon for 'windows group' in Java 1.6...
    I'm using Windows XP SP2. Now the windows from my Java 1.6 application are grouped with the standard Sun icon [screen below] on the group.
    http://img382.imageshack.us/img382/8995/iconbl1.png
    I would like to change the icon for my own. Is there a way to do that ?
    Please help.

    Whichever icon I use for the main frame (I tried few), after grouping the main frame and other sub-frames the icon is changed to standard 'Java Sun' icon as you can see in the screenshot from my first post. The problem occurs only when frames are grouped, when the are separated in the task bar their titles and icons are ok...
    So how can I change the icon/title for the group only (for Java 1.6 in Windows XP) ?

  • How to change an icon of a button

    hi guys,
    i want to change the icon of a button when it is click
    how can i do it?
    thanks

    You register a listener for that button, e.g.:
    button.addActionListener(new...)
    Then add code to the listener class:
    button.setIcon(new...)
    If you've not come across listeners yet though, you'll need to explore these a bit first.
    Andy.

  • How to change the icon of a spot in a dynpro application?

    Hi,
    I am trying to change the icons for the spots on the map in a dynpro application dynamically. Is it possible to change the icon for only some of the spots? If yes, which method should I use?
    The images for the icons are located in the mime repository and I added them to the application in the initialization of the application.
    Thanks and regards,
    Marc

    Hello Mark,
    The intended place for any UI technology is method DETERMINE_SPOT_ICONS of the control adapter. The default impl. resides in class CL_VBI_CONTROL_ADAPTER_GEO. There are two options for changing the icons:
    1. derive your own control adapter impl. and overwrite this method
    2. If the default pin assignment is sufficient you may simply replace the images. To do so provide an alternative MIME repository path to method GET_INITIAL_ZIP_ARCHIVE of class CL_VBI_GEOMAP_APPLICATION
    In the later case all pin images need to be available under the new path.
    Hope the answer your question.
    Cheers Uwe

  • How to change the Icon for a JFileChooser ?

    Has anyone figured out how to change the icon for an instance of JFileChooser from the coffee cup to something else?
    I'm on 1.4
    Thanks,
    Ken

    Never mind. I figured it out.
    You have to use an instance of JFrame in the call to showXxxxDialog(Component c). Set the icon of the JFrame to what you want the JFileChooser's icon to be.

  • How do i change an icon for a device?

    How do I change an icon for a device?

    If it's a desktop icon, then CMD+I, select the icon, and paste in the substitute. This is what my boot volume looks like.

  • How to change the icon in PPOME?

    Hi experts!!!
    I want to change the icon that appears in transaction PPOME, in Detail Area part. I want to put a "Tick" in address flap. I know I have to change it in SPRO Adjust tab Pages in Detail Area, but when I save the changes I make, it doesn't apper, can anybody help me???
    Thanks a lot,
    Regards,
    Rebeca

    Hello Rebeca,
    I am not sure but It all depends on your settings in table T77OMTABS. So perhaps you should check it again steps by steps for scenario OME0 "Organization and Staffing". Hope it helps,
    Kind Regards
    Christine

  • Changing folder icons issue

    I'm suddenly having a problem in snow leopard (mac os x 10.6.8) that I haven't had before in older versions. When I use copy and paste to change a folder's icon, the folder then contains an 'icon exec' file that I do not want there. If I trash it, the icon on the folder gets trashed as well. Anyone know how I can change the icon without having to now include that 'icon exec' file in the folder? Thanks.

    Just rebooted into 10.6.8 to see if its behavior was any different than 10.7.2, which I now use most of the time.
    No change - in Lion or Snow Leopard, when I added a custom icon to a folder, an invisible file was added to the folder's contents. This file is named just "icon" with no extension, and does not display the exec icon - it displays the generic blank page with turned-down-corner icon. I used FileBuddy to do the looking, since invisibles are visible to it.
    The icon I used as a source was one derived from a JPEG image. I opened the image in Preview, did a Command-A (select all) to select the entire image, then Command-C (copy) to place it on the clipboard, then did a Get Info on the folder's icon and pasted (Command-V) the image onto the icon in the upper left.
    Perhaps the difference stems from the nature of the source image you are using?

Maybe you are looking for

  • Error 2003 while updating my iPod 4g to iOs 5. Can't even restore

    Decided to update my iPod 4 gen to iOs 5 from 4.1 During the updating iTunes (10.5 versions) gave me somekind of error. Somekind of: Updating failure-blah-blah-blah. So, I decided to restore my iPod. Opened iTunes, clicked restore (or smth like that,

  • Contact Person column in CRM_DNO_MONITOR changing value incorrectly

    Hi all, We have realised that each time we change/add Business Partners in the Transaction Data -> Partner tab, the value of the Contact Person column in the CRM_DNO_MONITOR changes. Anybody has an idea of why this may be happening? Many thanks, Brod

  • Updating Comment Tag does not update file metadata

    Hi, If anyone has the answer to this question i'd really appreciate it. I've been through all my songs in ITunes 8 (8.0.0.35)and removed all the comments in the 'Comment' column. However when you view the details in Windows (right click on the file,

  • Newbie with Viewer/Pla​xo issues

    Hi Folks - I looked through the archives a bit and didn't see a fix. Here's the issues - I've a new 8830 that I truly love.  It's SO much better than the Treo I had. Of course there will be cultural differences and I think thats what I have. Clients

  • How to archive an edited film (in FCE) in FCP X

    When I archive a film, edited in FCE, the first clip and sometimes also the second clip of the film is placed at the end! The other clips are corectly placed. How to change it?