JButton shows depressed state in 1.4.2 under Windows l&f

We have an application that is showing a pressed state on a JButton that we previously did not have. Currently this is happening under the Windows look-and-feel.
We don't want that pressed look on particular buttons, but do want to keep the rest of the look-and-feel properties.
Anyone know how to turn that off on individual JButton objects?

You'll have to ask Microsoft why they've designed it this way. The default visual style for XP is called Luna and it contains a bunch of different images for the various widgets. For buttons, they have different images for the normal/rollover/pressed/disabled/default states. The thing is that they provide a different set of these images for toolbar buttons as compared to other buttons. In Luna, the image for the normal toolbar button state is blank.
The company TGTSoft makes a product called XPStyle that allows you to download visual styles from www.themexp.org and use on your desktop. The Windows L&F for Swing tries as much as possible to make these work, but there are still some bugs. This is partly because Microsoft hasn't bothered to document the style mechanism. TGTSoft also has a product called VisualBuilder which allows you to create and edit these visual styles.
So how is Swing handling this? Use the source, Luke. Look for the method paintXPButtonBackground() in WindowsButtonUI.java. You'll find it in the src tree that comes with j2sdk.
We may be able to add a flag to control toolbar vs not toolbar painting in 1.5, but I can't promise anything yet.
Cheers,
Leif Samuelsson
Java Swing Team, Inc.
Sun Microsystems, Inc.

Similar Messages

  • Correctly installed Firefox Flashplayer (v10.1.53.64) does not show video in Firefox (v3.6.7) under Windows XP, Vista, 7

    Hi all,
    I am experiencing this mysterious flash player video rendering problem on my website www.cc-exotic-home.com (see tag cloud box with animated text on the left side "Ihre Suchbegriffe").
    Using Firefox version 3.5.x and older on all operating systems the tag cloud video is running w/o problem. As soon as I use a 3.6.x Firefox version (with a correctly installed flash player plug-in version 10.1.53.64) the video is not showing anymore, even though the Firefox plug-in seem to be up and running.
    I experience this problem ONLY in Firefox...all other browsers are fine (latest version of IE 8.0, Safari, Chrome, Opera).
    Can anyone help me with this strange problem...?? I couldn't get any useful help at the Adobe Support Forum...
    Here's the page source code:
    Ihre Suchbegriffe
    Your expert help is highly appreciated!!!
    Regards
    SABRY
    == This happened ==
    Every time Firefox opened
    == I access website www.cc-exotic-home.com (tagcloud box left side "Ihre Suchbegriffe")

    Hi weater15,
    I am running on v 3.6.8 already...and it didn't solve my problem... thanks for your suggestion anyway...
    Are you running on an Windows OS ? I still can't understand why people from outside Germany seem to be able to view the content in firefox 3.6.x and many users in Germany experience the same problem as I do...it's so strange...

  • Will CSD shows Agent state as hold

    Hi All,
    Would like to know if Cisco supervisor desktop can shows agent state as hold?
    Issue is that even if the Agent placed the customer on hold, Supervisor desktop will show the Agent in talking state, which will give wrong perception to supervisor
    IPCC Version: 7.0(1)
    CAD Version: 7.0
    CSD version: 7.0
    Thanks,
    San

    Hi San,
    Within CSD, the hold times are joined together with the average talk (Avg Talking) time of an agent.
    So the CSD display will not show when an agents has placed a call on hold
    You can find this information in the following document on page 30.
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_7_0/user/guide/csd66ug-cm.pdf
    Please let me know if this information has helped you.
    Danny

  • HT5622 Why won't it show the state I'm in for the billing information?

    I'm trying to input my billing information but it's not showing my state. What do I do?

    From Demo:
    If you are getting the blank app update screen, and, many people are having this problem over the last several of days:
    According to Fly150 in another discussion, this will work.
    If you want to update the Apps while waiting for Apple to fix Updates:
    1. Go to App Store
    2. Select Purchased
    3. Select All
    4. Scroll down to find the Apps showing update
    5. Select update on the Apps
    This should update the Apps and get rid of the update count in App Store. Apple needs to fix this. It is a workaround only until then.
    Or try this from Apple:
    I understand that your App Store does not show your app updates. Please follow the steps below to help resolve the issue.
    1. Close All Apps on iPad: http://support.apple.com/kb/ht5137
    2. Sign out of iTunes & App Stores: Settings > iTunes & App Stores > Tap AppleID > Sign out
    3. Reset All Settings: Settings > General > Reset > Reset All Settings
    4. Reboot iPad
    5. Sign back into iTunes and App Stores: Settings > iTunes & App Stores > Sign In with AppleID
    Thank you for being an iTunes store customer. Apple appreciates your business.

  • Mirror Database shows Recovery state in Database mirroring in sql 2012

    Hi I am working on DBmirroring and have encountered problem of mirror database showing recovery state.
    I tried to resolve issue by removing database mirroring from principal ,removing endpoints from both the nodes and
    finally firing alter database db1 set partner off statement also.But when reconfigure dbmirroring on principal it does not allow
    start dbmirroring and mirror database db1 comes in to recovery state from restoring stage.
    srm_2010

    ok in that case why it is not allowing me to configure db mirroring when I am trying from SSMS.It gives an error.tell me????
    srm_2010
    And what is the error ? If while configuring mirroring it fails for some reason you have to make sure the mirror database which has gone in recovery state needs to be brought in restoring state.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Show AP Stats

    Is there a good reference in how to interpret the "show AP stats" command? 
    I have a new (online for 15 days) 1142 listed below.  It is the first 802.11n AP I've deployed.  The stat counters look bad (TxFragment Count = TxFrameCount, RetryCount > TxFrameCount).  But I don't know how to put it all together to say "here are the stats, this is the problem".  I see TxFrameCount, but no corresponding RxFrameCount, so it is hard to calibrate some of the errors.  Any help would be appreciated.  I'm running code 5.2.193.0 (and can't upgrade right now) on a WiSM.
    >show ap stats 802.11b <AP Name removed>
    Number Of Slots.................................. 2
    AP Name.......................................... <removed>
    MAC Address...................................... 00:22:bd:<removed>
    Radio Type....................................... RADIO_TYPE_80211b/g
    Stats Information
      Number of Users................................ 5
      TxFragmentCount................................ 926078
      MulticastTxFrameCnt............................ 65328
      FailedCount.................................... 403683
      RetryCount..................................... 1642858
      MultipleRetryCount............................. 13639
      FrameDuplicateCount............................ 0
      RtsSuccessCount................................ 0
      RtsFailureCount................................ 0
      AckFailureCount................................ 690010
      RxFragmentCount................................ 0
      MulticastRxFrameCnt............................ 110664
      FcsErrorCount.................................. 21455258
      TxFrameCount................................... 926078
      WepUndecryptableCount.......................... 93
      TxFramesDropped................................ 503
    --More-- or (q)uit
    Call Admission Control (CAC) Stats
      Voice Bandwidth in use(% of config bw)......... 0
        Total channel MT free........................ 0
        Total voice MT free.......................... 0
        Na Direct.................................... 0
        Na Roam...................................... 0
      Video Bandwidth in use(% of config bw)......... 0
      Total num of voice calls in progress........... 0
      Num of roaming voice calls in progress......... 0
      Total Num of voice calls since AP joined....... 0
      Total Num of roaming calls since AP joined..... 0
      Total Num of exp bw requests received.......... 0
      Total Num of exp bw requests admitted.......... 0
      Num of voice calls rejected since AP joined.... 0
      Num of roam calls rejected since AP joined..... 0
      Num of calls rejected due to insufficent bw.... 0
      Num of calls rejected due to invalid params.... 0
      Num of calls rejected due to PHY rate.......... 0
      Num of calls rejected due to QoS policy........ 0

    Hi d_p_grant:
    No, there's not a clear, modern one all polished and tailored for the Unified Wireless Network products.  There's an oldie but goodie
    Error Statistics on the Cisco Aironet 340 Series Bridge
    http://tools.cisco.com/squish/55528
    that goes through the various types of RF related stats, what they mean and offers some suggestions on troubleshooting.
    Keep in mind
    wireless is a half-duplex, acknowledged medium
    statistics are only relevant over time, so if you don't know when "clear stats " was last run, there's not much value for a specific incident
    here at OSI layer 2, units of communication are frames, and that if there's too much data to fit into a single frame, that data will be broken into multiple frames or fragments
    when the RF environment is clean and the channel is available (i.e. nobody else is talking,) stations can pretty much transmit when they want to;  if there's a lot of activity, stations will begin using RTS/CTS to "raise their hands" to receive a chance to transmit.  
    In making the connection to the Error Stats doc
    FailedCount is describing what the doc calls Holdoffs
    RetryCount is describing what the doc calls Retries
    FcsErrorCount is describing what the doc calls CRC Errors
    The fact that there are so many FcsErrorCount in relation to all the other statistics implies that the radio is receiving a lot of packets that are failing the CRC check.  Assuming that the sender was smart enough to calculate the CRC correctly when the frame left the sender's antenna, and that the receiver is smart enough to do the CRC check correctly when it received the frame on its antenna, the corruption must be happening while the frame is in the air (interference.)
    The Cisco Spectrum Expert can help you see what's in the air and what's interfering with your wireless network.
    http://tools.cisco.com/squish/70EF4
    Sincerely,
    Rollin Kibbe
    Network Management Systems Team

  • Show conn state and fix-ups

    Can the show conn state command be used to monitor the connections for fix-up protocols?

    Use the show port status command to display port status information.
    show port status [mod_num[/port_num]]
    Syntax Description
    mod_num
    (Optional) Number of the module.
    /port_num
    (Optional) Number of the port on the module.
    This example shows how to display port status information for all ports:
    Console> show port status
    Port Name Status Vlan Level Duplex Speed Type
    1/1 connected 523 normal half 100 100BaseTX
    1/2 notconnect 1 normal half 100 100BaseTX
    2/1 connected trunk normal half 400 Route Switch
    3/1 notconnect trunk normal full 155 OC3 MMF ATM
    5/1 notconnect 1 normal half 100 FDDI
    5/2 notconnect 1 normal half 100 FDDI

  • Ethernet showing 'Unknown state'

    I have just bought a time Capsule wanted to backup using ethernet, but my iMac wouldn't detect the capsule. I tested it with my laptop and it found it fine, so the cable and capsule aren't the problem.
    I found both ethernet and firewire ports showing 'inactive'. I activated them but now they both show 'unknown state'. I have always used wireless so don't know if the ethernet was always like this.
    Any help would be greatly appreciated.
    Mike

    I don't see where you said AirPort was OFF in the first post. And I did not mean to imply that you did not already have it connected with a Ethernet cable. Obviously, if you want it wired, there has to be a wire...
    Try going to System Preferences Network pane. In the sidebar, if AirPort is listed above Ethernet, click on the little gear icon and select +Set Service Order+. Make Ethernet appear first on the list. Then try restarting.

  • SPA 30x and 50x - show miss state when call was pickup

    Hello
    do you know, how to show on display miss state (softkey miss) when call was pickup in pickup group.
    My IP phone is SPA 303 and 502, and 922 but SPA 922 is showing miss state well.
    Server is Asteriks.
    Marek

    Call completed elsewhere has not been missed, so SPA922 is on the wrong side ...
    If the line is declared as shared AND call is CANCELed with
    Reason: SIP;cause=200;text="Call completed elsewhere"
    then no missed call is logged.
    I'm not sure if you can configure Asterisk not to use this Reason in such particular case. If I remember correctly, there is and option of Dial() Application for it ...
    Of course, unless you have User->Supplementary Services->Log Missed Calls for extension in question set to "Yes" no missed calls are logged at all.
    Rate useful advices and/or mark answer as "correct". It will help others to found solutions.

  • Xserve raid shows power state UPS backup

    How do I change the power state from UPS backup to on like the rest of the xserve raids we have? None of the xserve raids we have ever used a UPS so I do not know why this one is showing power state UPS Backup under the information tab of the GUI.
    This is annoying since it's causing the circle to be yellow instead of green. Any ideas or suggestions?

    Never seen this. Does it help if you temporally disconnect the power cable?

  • HT1918 Why is my payment details on my iTunes acc showing United States when I am registered on my acc as Australia

    Why is my payment details on my iTunes acc showing United States when I am registered on my acc as Australia ???

    OOnce the $ .99 charge goes through to verify your payment method, you should be able to make your purchase.
    wait 24-48 hours and try again.

  • Photoshop CC2014 running under window 8.1.  How do I access mini bridge.  It does not show under FILE or WINDOW-EXTENSIONS.  Works ok with CS6

    Photoshop CC2014 running under window 8.1.  How do I access mini bridge.  It does not show under FILE or WINDOW-EXTENSIONS.  Works ok with CS6

    Photoshop: Spring Cleaning | PHOTOSHOP.COM BLOG

  • My itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?

    my itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?
    Diagnostics test
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    ECS G31T-M7
    iTunes 10.5.2.11
    QuickTime 7.6.9
    FairPlay 1.13.37
    Apple Application Support 2.1.6
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.97
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0012ABAC07F3CCB0
    Current user is an administrator.
    The current local date and time is 2011-12-31 14:06:21.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is not supported. (16005)
    Video Display Information
    Intel(R) G33/G31 Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {7599FAD1-1BB9-4AC6-80AF-404253DC519E}
    Description:            Atheros L2 Fast Ethernet 10/100 Base-T Controller - Packet Scheduler Miniport
    IP Address:             192.168.1.5
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Sat Dec 31 13:46:09 2011
    Lease Expires:       Tue Jan 03 13:46:09 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    SSL 3.0 Support:     Enabled
    TLS 1.0 Support:     Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was unsuccessful.
    The network connection timed out.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-12-31 14:00:02.
    **** Device Connectivity Tests ****
    iPodService 10.5.2.11 is currently running.
    iTunesHelper 10.5.2.11 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C8.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C9.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CA.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CB.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller - 27CC.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Connected Device Information:
    rawkiss’s iPhone, iPhone 3G running firmware version 4.0
    Serial Number:       86931UEAY7H
    **** Device Sync Tests ****
    Sync tests completed successfully.

    I have found a fix after doing additional research through this forum. Tech Note #328730 addresses this problem and it works for Photoshop Album 3.2 even though it was written for release 1.0.
    Here is a link that will take you directly to the Tech Note:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=328730
    When using this fix the Tech Note indicates:
    "Imported image data and tags are lost when you re-create the My Catalog.psa file, so you need to reimport images and reapply any tags"
    however it did retain the captions (at least it did for me).

  • I read the article on how to remove Bing; however, it does not show up on my list of installed programs and it does not show up in the list of extenstions under "Tools" and "Addon" yet it is installed as an extention to the right of the addlress line.

    I read the article on how to remove Bing; however, it does not show up on my list of installed programs and it does not show up in the list of extenstions under "Tools" and "Addon" yet it is installed as an extention to the right of the addlress line. It is not my home page. Help!!!

    See also:
    *https://support.mozilla.com/kb/Removing+the+Search+Helper+Extension+and+Bing+Bar
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    *http://kb.mozillazine.org/Resetting_preferences

  • Help - iPod does not show up in iTunes or as disk in Windows Explorer

    Would someone PLEASE tell me how to get my iPod to show up in iTunes or as disk in Windows Explorer?
    According to our PC XP computers, we do not have an ipod and it won't charge when plugged into USB. It worked fine for 10 months until this morning (10/26/06). We have ruled out bad USB drive by using flash drive on that USB and it worked fine. Reseting ipod does not work (ipod does not respond to reset command hold toggle then hold menu + play for up to 10 sec). Reseting ipod within ipod menu does nothing. ANY suggestions would be GREATLY appreciated!
    Thanks.

    I have the same problem with my brand new 2 GB. I have reloaded software, gone through the "5 R's", tried the ipod on my PC and on my laptop -- neither computer recognizes or charges the ipod. Any info greatly appreciated.

Maybe you are looking for

  • PDF- paex page data to pdf form fields

    Just want to find out if anybody can help me out with this -- without using BI Publisher: I have several pdf letters that are pdf fillable. What needs to be done is from an APEX page: 1. user search for client id 2. find and selects the client id. Hi

  • Error in Jdeveloper when making a WebService Proxy.

    Hi, I am trying to call a webservice from Forms. But when I try to create webproxy in Jdeveloper.As I enter the WSDL URL(http://localhost:7101/WebService-Annotation-context-root/MyCompanyPort?WSDL)in the webservice proxy wirzrd I recieve following er

  • LAST question of the night....

    i need the south and east buttons to change the x and y coordinates of the picture displayed respectively, i cant figure it out cus they are two different pictures! it needs to incremement the x and y axis to move it a little bit every time the user

  • Rollover PJC - Unable to reference String within mouseadapter

    Hi I am writing a PJC to colour the background of a text item on mouse rollover. The PJC extends VTextField and includes a nested mouseadapter class. I would like a property, settable from the form, to determine whether the mouse rollover is enabled.

  • Update Overwrote iTunes Library File

    After I ran the update (as prompted) yesterday, then continued to play music on my computer all day, today I find that iTunes is not seeing my music.  I do have my music in an alternate location on my pc, but this has never been a problem.  When I go