How to make A JButton not look disabled when it is  setEnabled(false);

how do i make a jbutton not look disabled when i setEnabled(false) because when u disabled abutton it changes and takes away the frame of the button it self..is there a way to make it make a sound when its disabled and not take the frame away...example look at windows calculator when u have an answer for example 2 + 2 when the answer is displayed if u try to click the backspacebutton at this point it makes a sound..is this possible in java thanks

Why did you repost this question??????
You where given an answer in the other posting. You have not explained why the solution won't work and you haven't provided any further information about your question.
You also haven't listened to the other advice, you just reposted the question word for word.

Similar Messages

  • How to make "payment terms" not modifiable in sales order

    Hello every 1,
    please help, i want to know:
    how to make "payment terms" not modifiable in a sales order , as we know it comes directly from CMR and client wants "PAYMENT TERMS" to be not modifiable.
    Look forward for your response.
    Thanks in Advance,
    Deepak

    You need to use SHD0 or userexit chnages, like always determine from customer master, if user changes, give message like not modifiable  or ask abaper to make non modifable field

  • Can someone tell me how to make the letters that look like fabric?

    Can someone tell me how to make the letters that look like fabric?

    pharrout wrote:
    Can someone tell me how to make the letters that look like fabric?
    It could be as simple as clipping an image of the fabric of your choice, to a text layer.
    In this example the Hessian texture was downloaded from Google images, and placed over a Type layer.  You then Alt (Opt) click the intersection of the Type and Hessian layer to clip them together.  This just means that only the shape of the underlying layer will show in the clipped layer.

  • How to make dyn/admin not to prompt for username and password?

    Hello all
    How to make dyn/admin not to prompt for username and password? I am writing a selenium job to automate cache invalidation to load test a production issue we are facing. Selenium is opening a fresh firefox session and prompting for username and password every time. I am also trying to modify my script such that it will use the same session again and not prompt for username and password. But I thought of asking this question in the group.
    Your inputs will help a lot.
    Thanks,
    Sundar

    Hi,
    You can set enabled property of /atg/dynamo/servlet/adminpipeline/AuthenticationServlet/ to false. It will not prompt for authentication.
    Gopi

  • How to make iTunes Match not convert my files ALACs in 256 kbps (VBR)? How to get iTunes to convert CDs to Apple loselss?

    How to make iTunes Match not convert my files ALACs in 256 kbps (VBR)? How to get iTunes convert CDs in Apple loselss? The difference between 256 (VBR) and Apple Losless is very clear...

    Dear Michael, good day!
    1. As per your instruction, I turned off iTM.
    Small discrepancy – where are two screens with iTM switch:
    -Settings > iTunes & App Store. 
    -Settings > Music
    I switched OFF in both.
    NB: I turned device to English for convenience.
    2. My next step was Setting > General > Usage – tapped {Music};
    {All music} screen appeared; I swiped it and taped Delete. 
    3. I performed “hard reset” …………………………………..
    4. Switched back On iTM
    5. Taped Music app on Home screen
    iTM has started –  (it took 18 minutes  to completed, 60 mbps Wi-Fi speed )
    Regret to inform… All the same:
    Erase and reset to factory default? Or I did smf wrong?

  • Disabled button does not look disabled

    In a simple FX app I created a button and set the disable property to true, for exampledeleteButton.disable = true The problem is that when I run the app the button does not look disabled. The only way I can tell if the button is enabled or disabled is by mousing over it: if I mouse over a disabled button nothing happens, if I mouse over an enabled button it flashes blue.
    Is this a bug either FX or Nimbus, or am I doing something wrong?
    Cheers, Eric

    I've found the same problem and a "bugy way"
    if in a Custom node:
    var bts: Button[];
    function setControl(b: Boolean) {
            for (bt in bts) {
                bt.disable = not b;
    postinit {
            Timeline {
                keyFrames: KeyFrame {
                    time: .2s
                    action: function(): Void {setControl(false)}
            }.playFromStart();
    public override function create(): Node {
            insert Button {
                //disable: bind not control
                text: "View"
                action: function(): Void {
                    onView(boxNumber);
            } into bts;
            insert Button {
                //disable: bind not control
                text: "Print"
                action: function(): Void {
                    onPrint(boxNumber);
            } into bts;
                            VBox {
                                layoutInfo: LayoutInfo {
                                    width: 80
                                spacing: 5
                                content: [
                                    bts
    ...Afterall it put an shinny effect on your screen, thank's javafx.control API ;-)

  • How to make a JScrollPane not getting Focus?

    How to make a JScrollPane not getting Focus?
    When i tab out from a textfield inside a scroll pane focus is going to ScrollPane .And if i press tab once more then only focus is going to other textField which is outside the scrollpane.
    For me when i press tab from a text field inside a scrollPane ,i should go to textfield out side the scroll pane.
    satish

    Hi,
    I've the same problem, that I have to double click on tab
    to step from a textfield with a scrollpane to the next textfield in my panel.
    I tried to implement a FocusListener on my JScrollPane, but without success.
    Can you tell me in detail how to implement this listener ?
    Kind regards
    Andy Kanzlers

  • How to make my WRT54G see my WRT110 when my WRT54G is a client Bridge

    How to make my WRT54G see my WRT110 when my WRT54G is a client Bridge?
    It does not see any wireless signals in the status 
    I am using  DD-WRT v24-sp2 (10/10/09) std-nokaid with the WRT54G

    You should post this question on the DD-WRT forum since it is their firmware.

  • HT201270 MORNING COMMUNITY, anyone know how to make the i4s forget a network - when the device won't give you that option?

    MORNING COMMUNITY, anyone know how to make the i4s forget a network - when the device won't give you that option?

    if you dont have the options to forget network you can reset your network settings, but than the device forget all networks
    settings > general > reset > reset network settings

  • How to make Text filed Grayed out / disabled

    Hi,
    I have a text field and I have set the following property..
    HTML Form Element Attributes:- readOnly=trueThis field is read only now.
    HOW to make this field looks like a disabled field, some thing like filling the background with light gray color.
    Thanks,
    Deepak

    Thanks Andy..it worked..but one clarification.
    when I am using the following code as suggested by you, I am getting the text box border, as well as gray color in the box...THIS is perfectly fine which I wanted.... (This will make that field always read only)
    Element Type - Text
    HTML Form Element Attributes - readOnly=true style="background-color:gray"NOW I want my field to be read only based on condition.
    So I am using the following code, This is displaying the gray color, but the border of the text box is gone, so it doesn't look good. How can I keep the border too..
    Element Type - Text
    Read Only Condition Type (condition - Expression1=Expression2)
    Read Only Element Table Cell(s) Attributes - style="background-color:gray"Also, How to make FONT bold, I am using - font-weight: bold; - but it's not working.
    and finally , can I define this style in custom.css file and then how to call that stylesheet here...????
    Thanks,
    Deepak
    Edited by: Deepak_J on Oct 8, 2009 11:28 AM

  • How to make embedded HTML form look normal?

    Hello,
    In Muse, if I Insert HTML code with:
    <form action="action_page.php">
    First name:<br>
    <input type="text" name="firstname" value="Mickey">
    <br>
    Last name:<br>
    <input type="text" name="lastname" value="Mouse">
    <br><br>
    <input type="submit" value="Submit">
    </form>
    …the form is displayed in my Muse page.  However, it doesn't look normal, meaning:
    - The text fields have no border and appear to be invisible until you start typing in them.
    - The Submit button size is minimal, wrapping tightly around the text, and there is no border or bevel.
    * I have experimented with specifying an HTML border and width in the above code, with no change in results.
    Basically, this HTML code looks normal in a regular .html page.  However, in a Muse page (with Insert HTML), the visual appearance of the form elements looks abnormal… stripped-down.
    Can anyone suggest a way to add HTML form content and make it look correct?  I don't want to use the Muse Form Widgets, because they all "require" the email field, and I don't want that capability.  Thanks for any suggestions.

    I answered my own problem.
    It seems that the solution is having knowledge of CSS, which I don't.  That's what Muse is supposed to provide, and I'm not a CSS expert.
    At http://www.ronpershing.com/blog/how-to-make-a-custom-contact-form-in-adobe-muse/ , Ron Pershing gives some very simple code on making it all work with Muse.  I'm not affiliated with him or his website, but since he was kind enough to publish a solution, his work should get some attention.

  • How to make a person eye look bigger or smaller?

    How to make a person's eye look bigger or smaller?  Can guide me step by step?  Thank you.

    I never said to do them both at once. Yes, I have seen it done and have done it myself.....
    Of course this is a very quick and un-detailed example, it needs quite a bit of refinement. Techniques will vary from image to image as well. What works for one may not work for another example.
    Benjamin

  • How to make standard def cable look better on hi-def tv?

    I have a 24" Insignia LED TV model number NS-24E340A13.  When I got it, I did not anticipate that my standard definition cable would not look very good on it.  I have messed with the settings, but it doesn't look any better.  Does anyone have any ideas?

    Non-HD content should look fine on a 24" HDTV. I watch standard def on my 37" all the time, it's defnitely not as sharp as HD, but I don't have any complaints about it. Have you had any other devices hooked up to it? How do they look?
    You have a digital camera? If so, take a picture and upload an image to somewhere like imgur.com, so we can check it out. 

  • How to make fonts in firefox look prettier? For example like in sleipnir

    Hello,
    I wonder if there is a way to make fonts in firefox look smooth and easy to read?
    I've tried using Sleinpir browser (http://www.fenrir-inc.com/us/sleipnir/) which has aimed to provide smooth and readable text and almost every piece of text looks just better and more pleasant to read.
    I've tried almost every setting both in Options dialog and in about:config (under gfx.font filter).
    Enabling rendering via directwrite helped a lot, but it's still nothing compared to Sleipnir.
    Here are some screenshots:
    Default firefox - http://s5.postimg.org/8ifmq7u7p/ff_default.png
    Firefox with directwrite enabled - http://s5.postimg.org/k15xb3c1h/ff_directdraw.png
    Sleipnir - http://s5.postimg.org/5w049a305/sleipnir_default.png
    So is there a way to make fonts look this pretty in firefox? Is there any iniciative to make FF capable of such thing?
    Thanks a lot
    (EDIT: I've even tried instaling gdi++ https://code.google.com/p/gdipp/ alternative renderer for windows, but it doesn't seem to make any change in firefox)

    Hi stmr,
    I am glad to hear that you are looking to contact FF developers to make an add on. For more information on this mdn has developers answering questions in stackoverflow.com
    There is also documentation
    *[https://developer.mozilla.org/en-US/docs/Developing_add-ons MDN Developing Add ons]
    *[https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project/Fonts Math ML Fonts]
    *[https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth CSS font-smooth]
    If you have not already, please mark this thread as solved by marking the solution.<br>
    I hope you continue using our products and thank you for contacting Mozilla Support.

  • How do I make a button NOT take focus when it is clicked?

    I am trying to create a virtual keypad and the problem is that when I have a Robot make a KeyEvent for a certain number when a certain button is pressed, the TextField loses focus and the focus is placed on the button that was pressed, so nothing appears in the TextField.
    How can I make a button NOT take the focus when it is pressed?
    Edited by: tox0tes on Nov 28, 2008 8:06 PM

    great. another way is to have a call to myTextField.requestfocus() in the button's actionlistener actionPerformed method, but that leads to tight coupling.

Maybe you are looking for

  • Translating Google-style search strings to Verity

    I've built a nice full-text search facility using Verity for my application, but in these days of Google dominance, I'm afraid few if any of my site's users are familiar with the now-peculiar search-expression style employed by Verity. Instead, they'

  • Facing pages options missing in new Pages

    Am I missing something or is the facing pages options not available in new Pages app?

  • Solution for iPad slow download from app store

    First, I have to clarify this is just my solution for the problem I encoutered. It may not work for you, but I think it's nice to post here for whoever needs it some day. I live in Sydney, using TPG as my home network provider. In order to use iMessa

  • How to transfer photoshop ELEMENTS v4 onto new mac?

    How do i download an old version of photoshop v4 i have on an old computer, onto my new mac?  I have the serial number.

  • Not Detecting External Display - 24" Gateway FPD2485W

    Hi everyone, I'd really appreciate any help I can get on getting my monitor to display at 1920x1200. My setup: Mac Book Pro 2.2Ghz 4Gb memory 128 M video memory - NVidia GeForce 8600M GT Memory Card OSX - 10.5.2 Bios - MBP 31.0070.B05 External Displa