How to Diasble JLabel since enable(false) method is deprecated in jdk1.4

Hi friends
i am using jdk1.4 in which enable method is deprecated.
i am disabling my jlabel using jlabel.enable(false); method
however this is deprecated.
what method should i then use
please do help

You just try with the .setEnabled(false); This will
help to solve your problem.Hey Thanks Mr. Sumode , its working with .setEnabled(false);

Similar Messages

  • How to make "Remove" being enabled in menu?

    Dear All,
    Just a simple top question, how to make "Remove" being enabled in Edit Menu? I couldn't find any UID on it.
    You could find it out under "First Record, Previous, Next and Last".
    Thanks in advance!
    Jemmy

    Hi Jemmy,
    don't know if if this what you are looking for:
    When opening an order form (or and other document),
    under menu "data" there are the options "add row", "duplicate row" and "delete row". Since these methods manipulate the rows in a matrix elements. For obvious reasons the methods seem to be only active when focus resides in  the row of a matrix.
    HTH Lutz Morrien

  • Is turning off iFrames via about:config browser.frames.enabled;false broken in Firefox 23?

    I noticed that Firefox with version 23 removed option to turn OFF JavaScriipt from Tools > Options > Content menu
    http://www.extremetech.com/computing/163291-firefox-23-finally-kills-the-blink-tag-removes-ability-to-turn-off-javascript-introduces-new-logo
    Recent events when allegedly FBI used JavaScript in iframe to exploit bug in Firefox with intentions to uncover identity of users of TOR network encouraged me to play with security settings a bit.
    More about how FBI exploited Firefox bug to execute malitious JavaScript on users computers: https://lists.torproject.org/pipermail/tor-announce/2013-August/000089.html More biased articles can be found in popular media articles. Just google "TOR exploit FBI"
    ISSUE:
    Symptoms:
    I noticed that turning iFrames OFF in about:config > browser.frames.enabled;false seems to not be working as expected. Iframes are still shown and JavaScript in them is executed. Doesnt work even after resterting Firefox.
    Testing:
    I used this pages to test iFrames:
    •https://sites.google.com/site/annuairevin/test-page
    •http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe
    •http://www.quirksmode.org/iframetest.html
    After I turned browser.frames.enabled OFF and restarted I noticed that iFrames are still shown on all 3 pages and JavaScript in them would be executed.
    By blocking IFRAMES with NoScript blocking turned ON (you have to turn forbidding IFRAMES on manually in options http://i.imgur.com/7jctoTW.png) I managed to block IFRAMES on google and w3school pages.
    !!!Text in iframe "Test page in iframe" on quirksmode test page was still shown even after I have frames turned OFF in about:config and I block all scripts and frames and iframes with NoScript.
    If I open same page (http://www.quirksmode.org/iframetest.html) with Opera with iFrames blocked in Preferences, iFrame is not shown at all, browser doesnt even render empty square; but JavaScript in it is executed, if you dont disable JavaScript in Preferences > Advanced.
    I didnt test Chrome at all.
    Possible things that can cause bug:
    •I am using NoScript 2.6.7, I turned it off and on but it is possible that it is overriding Firefox settings in about:config. when you serach about:config for "frames" there are many settings mentioning frames from NoScript and AdBlockPlus.
    •AdBlock Plus 2.3.2? Same reason as NoScript.
    •Fot the first time I noticed Shield in the address bar with "Firefox has blocked content that isnt secure" bubble. http://i.imgur.com/K4FL65n.png. I dont know how long this feature is implemented or what exactly it does, here are some details: https://support.mozilla.org/en-US/kb/how-does-content-isnt-secure-affect-my-safety?as=u&utm_source=inproduct
    P.S. Just small remark. If that is true: "Finally, Firefox 23 removes the option to disable JavaScript from the Options pane — and if you had JavaScript turned off, it has been turned back on." There should be some warning when Firefox is updated that JS was turned ON. I think that for me FF updated silently without any messages. OR maybe I blatantly closed some windows, i dont remember well.

    The documentation I find on browser.frames.enabled is very vague, but I can't see that it does anything currently. Is this a feature you used successfully in an earlier version?
    The Mixed [Active] Content Blocker was turned on by default in Firefox 23. That would explain the shield icon. Not sure whether implementing that might have changed how iframes are handled.

  • How to pass value from EXIT to method

    Hi friends
    1)  My requirement is that when the person change the amount field in TRIP t-code i need to send a mail to the manager. So i found a exit FIT0002 here when ever the traveler change the amount i am setting the flag as x when he change and y when no amount is changed in exit. I did export to memory id and in my method i did import from memory id. But this is not performing gud. If at a time many users apply the trip and changes the advance the flag is not getting set. I checked in the log. No flag is set its empty no x nor y. After clearing the buffer SWU_OBUF. Again all the users applied the trip then the flag is set and every manager got the mail. But why this is happening?. Is there any other way to achieve it. I want to get the flag value to my method. Is there any other work around.
    2)  I tried with SAP_WAPI_WRITE_CONTAINER directly getting the value and writing to the workflow container its not correct way since i need to write commit work. But the exit itself does commit.
    3) I tried with SET/GET parameter but i don't no how to divert my flow from my method to exit when i use SET/GET parameters.
    Can any one throw some light on this issue.
    Regards
    vijay

    If you are able to get the workitem ID then try to use the below code snippet and check because even Iam setting some value back to the workitem container
    DATA :
          w_wiid      TYPE             sww_wiid     VALUE   'XXXX',
          w_ref       TYPE REF TO      if_swf_run_wim_internal,
          w_ref_cnt   TYPE REF TO      if_wapi_workitem_context,
          w_wi_ref    TYPE REF TO      if_swf_ifs_parameter_container,
          ls_agent    TYPE             swr_wihdr.
    TRY.
        CALL METHOD cl_swf_run_wim_factory=>find_by_wiid
          EXPORTING
            im_wiid     = w_wiid
          RECEIVING
            re_instance = w_ref.
      CATCH cx_swf_run_wim_enq_failed .
      CATCH cx_swf_run_wim_read_failed .
      CATCH cx_swf_run_wim .
    ENDTRY.
    CALL METHOD w_ref->get_workitem_context
      RECEIVING
        re_ctx = w_ref_cnt.
    CALL METHOD w_ref_cnt->get_wi_container
      RECEIVING
        re_container = w_wi_ref.
    TRY.
        CALL METHOD w_wi_ref->set             " Setting the Value Back to WORKITEM CONTAINER
          EXPORTING
            name       = lc_result
            value      = lv_value       
          IMPORTING
            returncode = lv_return.
      CATCH cx_swf_cnt_cont_access_denied .
      CATCH cx_swf_cnt_elem_access_denied .
      CATCH cx_swf_cnt_elem_not_found .
      CATCH cx_swf_cnt_elem_type_conflict .
      CATCH cx_swf_cnt_unit_type_conflict .
      CATCH cx_swf_cnt_elem_def_invalid .
      CATCH cx_swf_cnt_container .
    ENDTRY.

  • How to make table as "editable false"

    Dear Forum,
    i am user of jDeveloper jClient/Swing .jpr.
    cutomer table having following attributes-
    1.cust_id (primary key)
    2.cust_name
    3.cust_add
    Suppose customerview bind with jTable1.
    Using ViewObjectEditor, i set "updateable never" for all fields.
    This show error, when data insert into table " cust_id as
    read only".
    Help me, Using jClient Binding how to make Table as "editable false".

    Overriding method prepareEditor() for new table:
    private JTable tableList = new JTable(){
    public Component prepareEditor(TableCellEditor editor, int row, int column) {
    // 1 and 2 column is not editable
    if(column == 0 || column == 1){ return null; }
    return super.prepareEditor(editor, row, column);

  • Button.enabled = false   (but still clickable?!)

    Hello Dear Forum,
    Got a button (imported png defined as a button in the library).
    The button is dragged onto the stage, given an instance name "btn".
    Clicking the button fires an eventListener which is doing all the right things, except...
    btn.enabled = false;
    ...only changes the cursor from a pointing finger to an arrow. What?! It is still clickable.
    My intention is to disable the button so it cannot be clicked. But it can still be clicked. Not good.
    QUESTION: How do I disable a button and prevent it from being clicked?
    Thanks for your support,
    ///johan
    REASON: I am temporarily disabling the button so that it cannot be clicked multiple times while loading other stuff. Makes sense.

    To disable the button (a homegrown SimpleButton) use its mouseEnabled property.  I think enabled only applies to Button components in AS3.

  • Extensions.blocklist.enabled;false

    extensions.blocklist.enabled;false
    prevents extensions you install personally from being disabled.
    if you have a bad one mozilla should instead provide a delete button for that particular plugin that does the actions required to destroy it.
    why would anyone since the age of dos remove the yes button from a yes no quit button?
    maybe cause their stupid enough to take bribes from big-brother corporations?
    when in fact long term not acting like a bastard to the end users would give tons of money from the happy users LOOKING for a permanent donate button.

    Donations to Mozilla can be made here: <br />
    [https://sendto.mozilla.org/page/contribute/join-mozilla?source=join_link Donate Today | Join Mozilla]
    '''extensions.blocklist.enabled'''; '''''false''''' - turns off the blocklist by preventing it from being updated
    Extensions aren't the same as '''Plugins''', although they are both classified as Add-ons, along with Themes. For the most part, Plugins are installed by external programs and are made available to Firefox via the Windows Registry. Plugins are not installed in the Firefox program files folders, which is the main reason Plugins can't be uninstalled ''from'' Firefox, only disabled.

  • How do I call an Application Module method from a EntityImpl class?

    Guys and Gals,
    Using Studio Edition Version 11.1.1.3.0.
    I've got a price update form, that when submitted, takes the part numbers and prices in the form and updates the corresponding Parts' price in the Parts table. Anytime this Parts view object's ReplacementPrice attribute is changed, an application module method needs to be called which updates a whole slew of related view objects. I know you can modify view objects via associations (How do I call an Application Module method from a ViewObjectImpl class? but that's not what I'm trying to do. These AppModuleImpl methods are the hub for all price updates, as many different operations may affect related pricing (base price lists, price buckets, etc) and hence, call the updatePartPricing(key) method.
    For some reason, the below code does not call / run / activate the application module's method. The AppModuleDataControl exists and recordPartHistory(key) is registered and public. At runtime, the am.<method> code is simply ignored, and as a weird side-effect, I cannot navigate out of my current page flow.
      public void setReplacementPrice(Number value)
        setAttributeInternal(REPLACEMENTPRICE, value);
        AppModuleImpl am = (AppModuleImpl)this.getDBTransaction().findApplicationModule("AppModuleDataControl");
        Key key = new Key(new Object[]
            { getPartNumber() });
        am.recordPartHistory(key);  // AppModuleImpl method which records pricing history
        am.updatePartPricing(key); // AppModuleImpl method which updates a whole slew of related pricing tables
      }Any ideas?

    Thanks Timo.
    Turns out the code provided was correct, but the AppModuleImpl method being called was not. A dependent ViewObject wasn't returning the row I was expecting. I then tried to perform some operations on that row, which in turn ... just stopped everything, but didn't give me an error.
    It was the lack of the error that threw me off. I had never messed with calling an AppModuleImpl method from the EntityImpl so I assumed that's what was messing up.
    You are correct. It is available from the ViewRow, but I thought it better to put it in the EntityImpl. This method will be called every time the replacement cost is modified. If I didn't put it in the EntityImpl, I'd have to remember to call it every time a replacement cost changed.

  • TS4020 I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    Try this support document for information on how to contact Apple and account security. Apple ID: Contacting Apple for help with Apple ID account security

  • In BADi , How to pass the values between two Method

    Hi Experts,
    We have two methods in BADis. How to pass the value  between two Methods. Can you guys explain me out with one example...
    Thanks & Regards,
    Sivakumar S

    Hi Sivakumar!
    Create a function group.
    Define global data (there is a similiar menu point to jump to the top include).
    Create one or two function modules, with which you can read and write the global data.
    In your BADI methods you can access the global data with help of your function modules. It will stay in memory through the whole transaction.
    Regards,
    Christian

  • How to create a structure in a method

    Hi
    Would any please tell me how to delcare a structure in a method which contains a SAP defined structre in it . I have done it in normal ABAP but it not taking that syntax in ABAP objects method . Please tell me syntax for a method .
    Thanks
    Anita

    Hello Anita
    I assume you tried the statement
    DATA: begin of <struct>.
    In methods we have to use the following approach:
    TYPES: begin of ty_s_struc.
    TYPES:   field1   TYPE <fieldname>.
    TYPES:   field2   TYPE <struct-fieldname>.
    TYPES:   ...
    TYPES: end of ty_s_struc.
    DATA:
      ls_struc     TYPE ty_s_struc,
      lt_itab      TYPE STANDARD TABLE OF ty_s_struc
                   WITH DEFAULT KEY.
    I prefer to place my type definition in the "TYPES section" (see push button "Types" in SE24). However, all types defined within your class are <b>private</b> meaning you cannot use them in the interface of public methods.
    Regards
       Uwe

  • I have installed both Audition 3 and Photoshop CS3 on a laptop with no Internet connection. How may they be activated? The methods documented in the software don't work.

    I have installed both Audition 3 and Photoshop CS3 on a laptop with no Internet connection. How may they be activated? The methods documented in the software don't work.

    Ned, thanks for responding. Internet access is not the problem, I will have a tower computer connected to Comcast.
    Isolating the laptop  from the internet is the issue.
          From: Ned Murphy <[email protected]>
    To: Mordecai benHerschel <[email protected]>
    Sent: Wednesday, March 18, 2015 7:27 PM
    Subject:  I have installed both Audition 3 and Photoshop CS3 on a laptop with no Internet connection. How may they be activated? The methods documented in the software don't work.
    I have installed both Audition 3 and Photoshop CS3 on a laptop with no Internet connection. How may they be activated? The methods documented in the software don't work.
    created by Ned Murphy in Downloading, Installing, Setting Up - View the full discussionSince it is a portable machine, couldn't you go somewhere that has wifi available and use that as a temporary internet connection? If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7314414#7314414 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7314414#7314414 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • After updating to iOS 6 my iPod Touch 4th.Gen is virtually unusable ... does anyone know how to sue Apple since they gave no warning about iOS 6 being for iPad optimisation and a killer  for iPods ?

    After updating to iOS 6 my iPod Touch 4th.Gen is virtually unusable ... does anyone know how to sue Apple since they gave no warning about iOS 6 being for iPad optimisation and a killer for iPods ?  Before I throw away my iPod Touch does anyone know if Apple intends to rectify their obnoxious disregard for iPod users by issuing another 'upgrade' which will allow iPods to work without the constant system crashes that iOS 6 has caused ?

    Contact a lawyer if you want to sue.
    Otherwise try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • How to do screen resolution in session method

    hi guru how to do screen resolution in session method.
    please tell me.
    regards
    subhasis

    Sometime back this is refered in SDN :
    Check table <i>CTU_PARAMS</i> and field <i>DEFSIZE</i> for setting fixed line of table control.
    CALL TRANSACTION 'VA01' USING it_bdcdata
    OPTIONS FROM OPT
    MESSAGES INTO it_mesg.
    opt of type ctu_params.
    WA_CTU_PARAMS-DISMODE = 'N'. "no screen mode
    WA_CTU_PARAMS-UPDMODE = 'S'. "synchronus update
    WA_CTU_PARAMS-NOBINPT = 'X'.
    WA_CTU_PARAMS-NOBIEND = 'X'.
    WA_CTU_PARAMS-DEFSIZE = 'X'. "Default size
    Default size will play good role in terms of resoultion. in one system in table control you can see 10rows, but in others system it will show 20 records. it depends on resoultion. but when you set the default size then it will take same (default screen size) in all the systems when you run BDC.
    Thanks!!

  • How to handle screen resolution in session method

    how to handle screen resolution in session method  without bdc_insert .

    Hello,
    Why do need that for? Is it to add rows on a table control??
    If it does, add new rows by using the add button instead of adding into the table control directly to each row.
    Bye
    Gabriel.

Maybe you are looking for

  • License Issue from MCS 6.1.3 to UCS 9.0

    Hello all, We are upgarding CUCM from 6.1.3 MCS to 9.1 UCS. Our plan is to jump from 6.1.3 to 6.1.5 to 9.1. We took backup of 6.1.3 MCS via Disaster Backup Recovery & restore it at UCS after new installation of 6.1.3. We contacted cisco licensing tea

  • DeadLocks on Query Notifications with SQL Server 2008 SP3

    Hello, according to this article https://support.microsoft.com/kb/975090 the issue with deadlocks on query notifications should be fixed with SQL Server 2008 SP3 (10.0.5500.0). But we still get deadlocks in the following manner: <resource-list> <keyl

  • N97 - Maps 3.04 - difficult to create a multi-poin...

    On the face of it, the fact that Maps 3.04 can allow a multi-point, ordered route to be created is a good thing. However, I find building such routes to be difficult, particularly where they involve a mix of places stored as Favourites and places fro

  • In Itunes 12 is there a way to view search results in the playlist view rather than the drop down menu?

    When searching for a song title, an artist etc in Itunes 12 it shows the results via a tiny consolidated drop down menu, however in previous version of Itunes search results would be displayed in the main playlist view. I seriously dislike the search

  • [Q] Creating an IVI driver *.bas file

    The VXIPNP specs require a *.bas file to accompany an IVI driver for the WinNT framework. We're using LabWindows/CVI to create our IVI drivers. But so far we haven't been able to create the *.bas file. I got far enough to get an error message that "c