How to set Disabled Text field's Background color

We have an Applet application which we are running with Java Plug-in 1.5.0_11. We have Grey back ground for all the pages. When the text fields are in editable mode the text color is in black. When they are in non editable mode the text color changes to opaque green (with grey background page color) which is hard to read.
The same application with Java Plug-in 1.4.2_13 did not had this color problem. When text fields were disabled they appeared as dark grey which was easy to read.
We are using
import javax.swing.JTextField;
Is it a bug in newer Java Plug-in? Is there a work around for this?
Thanks for any help and suggestions

Solved this myself by writing a programmatic skin and set it to LinkButton's disabledSkin.

Similar Messages

  • LinkBar: how to set a selected button's background color?

    I was able to set the text color of a selected LinkBar button by "disabledColor" style of LinkBar. Accordingly, I expect to set the background color of the selected button by "backgroundDisabledColor" style, however, it didn't work; and except "backgroundDisabledColor", I didn't see any other style that could possibly achieve this. Please help. Thanks.

    Solved this myself by writing a programmatic skin and set it to LinkButton's disabledSkin.

  • How to add the text box with background color in Acrobat 9 Pro ? (Urgent)

    I have previously used the Callout tool to add the comments in a PDF file, but the comments were difficult to read as some of them were mixed with the pictures just shown below. Therefore , I hope that there's a tool that can create the box with background color, but I cannot find such tool. What should I do ? Hope to get the answer ASAP, as it's very urgent !
    P.S. The picture below is represent the problem: the comment are difficult to read.

    In the properties of the callout comment you can change the fill color.

  • Setting a Text field in adobe form non editable

    Hi Experts,
    I have generated a Adobe form using webdynpro java. I have  couple text fields. They are binded with some values which a RFC returns. When I see the output These text fiels values which are populated from backend are editable. Can anyone suggest me how to make these text fields non editable.
    Thanks,
    Raj

    Hi Raj,
    You have to set the properties of these text field as readonly.
    For this you have to select the text field ... Go to the Object Pallete.
    There you will see three Tabs Field, Value and Binding.
    You have to click on Value Tab  and there you have select the Type as Read Only.
    If you do not have Object Pallet open .. go to Menu Bar Window and Click Object
    This will solve your problem.
    Cheers
    Satya

  • How can I put text in transparent background?

    How can I put text in transparent background?
    Message title was edited by: Brett N

    Good day!
    You can create a new document (»Background Contents« set to »Transparent«), use the Type Tool (T) to create text and then save in a format that supports layers like psd, psb, tif.
    If the receiving application can’t handle those png24 is another option.
    Regards,
    Pfaffenbichler

  • How to rotate a Text Field?

    Is there anyone who knows how to rotate a Text Field? I just need to move some degrees (for example: clockwise).
    Thanks in advance for any help you can provide

    You can onlt rotate it in 90 degree imcrements ...this is controlled on the
    layout tab next to the anchor setting.
    Paul

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

  • How to populate the TEXT field in MIGO

    Hi folks,
    While creating material document in MIGO or MB01, i am inserting some data in TEXT ( Field in line item level ). This text data is disappearing , once mat doc is created.
    how to populate the TEXT field in MIGO?Is there any cusomisation?it's urgent .
    Regards
    pabi

    Hello Pabitra,
    I had a similar issue in my Project.
    Please verify if the SMOD enhancement MBCF0002 (EXIT_SAPMM07M_001) is active in your system.
    If this is the case, verify from two angles:
    a) Whether the Enhancement was accidentally activated - If yes, then De-activate the same
    b) If there is some logic coded in the User Exit, but, the Text is somehow not determined...even the existing content in the text field (input to EXIT_SAPMM07M_001) will get vanished.
    Hope that your problem will be resolved by this.  Pls reward points.
    With Regards
    Vijay Gajavalli

  • How to collapse unused text field in PDF form

    Hi all, may i know how to collapse unused text field in a PDF form. Etc, we have alot of description line for user to enter the info, but some line will be left unused, so i was wondering whether can i hide those unused text field. But when i need them, i just expand it and use it.

    I don't think w/o UI Customization it is possible.
    UI customization won't be a small one as it is a common wizard and used at multiple places. So it will be a huge work.

  • How to set a image as a background in a frame

    How to set a image as a background in a frame

    The following code works well in Notepad command prompt but it is not working on netbeans
    I want to set a background image in a frame(awt or swings ny will do) or a panel through netbeans
    1. import java.awt.*;
    2. import java.awt.event.*;
    3.
    4. public class ImageFrame extends Frame
    5. { 
    6. private ImageCanvas c;
    7. private Image i;
    8. ImageFrame( Image i )
    9. { 
    10. this.i = i;
    11. c = new ImageCanvas( i );
    12. add( c );
    13. }
    14.
    15. public static void main( String[] args )
    16. { 
    17. Toolkit tk = Toolkit.getDefaultToolkit();
    18.
    20. Image im = tk.getImage( "WashuChan.gif" );
    21. ImageFrame f = new ImageFrame( im );
    22. f.addWindowListener( new WindowAdapter()
    23. { 
    24. public void windowClosing( WindowEvent e )
    25. {  
    26. System.exit( 0 );
    27. }
    28. } );
    29. f.setSize( 300, 300 );
    30. f.show();
    31. }
    32.
    33. private class ImageCanvas extends Canvas
    34. { 
    35. Image i;
    36.
    37. public ImageCanvas( Image i )
    38. { 
    39. this.i = i;
    40. }
    41.
    42. public void paint( Graphics g )
    43. { 
    44. g.drawImage( i, 0, 0, this );
    45. }
    46.
    47. public Dimension getPreferredSize()
    48. { 
    49. int w = i.getWidth( this );
    50. int h = i.getHeight( this );
    51. return new Dimension( w, h );
    52. }
    53. }
    54. }

  • How to set Mandatory Choice field while Creating Custom Task using Sharepoint Designer 2007

    Hi,
    I am new to Sharepoint development.I dont know whether i am posting  the question in Correct place.Kindly redirect me to the correct place if i am posting it in wrong place.
    I  created a custom task in Sharepoint Designer 2007 using
    Collect Data from User
    Action.
    I created a field in the task form which is of choice type and
    unchecked allow blank values
    because i  wanted that field to be a mandatory field.When i handled that task ,i was able to complete that task
    without selecting that mandatory field.But, I was expecting not to allow me to complete the task without selecting that field. Kindly  tell me how to set the choice field as mandatory.

    Hi,
    You are using SharePoint Designer 2007, so I moved the thread to the appropriate forum for MOSS 2007.
    This is by design that
    Workflow-generated form (for action Collect data from User) does not perform validation properly on drop-down choices, the workaround is to use JavaScript to perform the field validation.
    This thread has the JavaScript code can help you:
    http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/0ad7fc3c-97a1-464e-ae89-c3133462dda8/
    Xue-Mei Chang

  • How to validate an text field item using javascript for numbers only.

    hi,
    how to validate an text field item using javascript for numbers only.please help me on this urgent
    please mail me solun if posible on [email protected]

    Hi,
    Page HTML header
    <script>
    function onlyNum(evt) {
      // Usage: onKeyPress="return onlyNum(event)"
      evt = (evt) ? evt : window.event;
      var charCode = (evt.which) ? evt.which : evt.keyCode;
      if (charCode > 31 && (charCode < 48 || charCode > 57)) {
        var status = 'This field accepts numbers only!';
        alert(status);
        return false;
      var status = '';
      return true;
    </script>Item HTML Form Element Attributes
    onKeyPress="return onlyNum(event)"Br,Jari

  • How to set the data fields column wide at sqlplus

    Dear Sir/Madam
    I would like to know how to set the data fields column wide at sqlplus
    Thanks
    Francis

    see
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
    and the FORMAT clause of the COLUMN command in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF

  • [Q]How to setting Disable-Enable Virtualization on MSI NB GE620

    [Q]How to setting Disable-Enable Virtualization on MSI NB GE620 AMI BIOS Version E16G5IMS V.10A
    I test from securable program, Display this below.
    But I used insatall MAC OSX in VMWare Workstation or Virtual Box , I can't install it. Display message popup for enable VT on BIOS.
    I'm try to looking in BIOS . I can't find it for setting enable or disable. Because I has ever see other products can changeable. Please answer this question. Because it important for me. Thank you for the future.

    I do not work for MSI and this is private service, if you look for official stuffs go to: http://msi.com
    Quote from: iti11 on 28-April-11, 23:40:06
    You can send this answer for me in email or not?
    i will make a custom bios for you and will email to you,
    to able to turn on and off the requested feature

  • How can I disable Text Messaging on my Iphone?

    How can I disable Text Messaging on my Iphone -- so I do not receive any texts. I do not have nor currently want an AT&T text plan, and I really don't want to be charged .20 for the text messages that will inevitably be sent my way from friends & coworkers who do not know I don't want texts.
    AT&T had a link only for blocking spam texts, but I don't think this will stop standard SMS texts.
    Anyone do this? Does this involve a call to AT&T. There must be a way to disable it, no?
    Thanks in advance!
    Message was edited by: motifone

    You would have to ask AT&T if they can turn off your text capabilities.

Maybe you are looking for

  • Bonjour Wont start (Error 6)

    I seem to be yet another person having trouble getting bonjour to install correctly. I am currently running on windows 7 64 bit, i can get itunes to install fine but i get warnings about bonjour not starting resulting in not being able to access remo

  • WITH clause

    Hi All, I am new to PL/SQL. I have a query where I am using WITH clause. And,it is to be used in a cursor. so my doubt is ,where should I need to place the WITH clause ? In Declare section or BEGIN section. Please suggest. We tried both ways but coul

  • Import PO in INR

    Hi gyes M/s xyz is supplying the items from USA to the Local Dealer in India We want to place On the local dealer The items are imorted items which will be delivered on High Seas Sale basis.to the Local Vendor we Shall be paying all The Customs duty,

  • Indicate to the user that a table has updated its contents

    Hi, I have some criteria but I am not sure where to go or if it is even possible. What I have is a jspx page with a table on it. I have a poll that periodically re-executes the query for the table. If there are any changes then the table is refreshed

  • Does Elements 12 support 32 bit images in a 64 bit OS?

    Does Elements 12 support 32 bit images in a 64 bit OS?