How to disable som JList's items

Is it possible?

[url http://www.senun.com/Left/Programming/Java_old/Examples_swing/JComboBoxExamples1.html]Here are some tips for JComboBoxes. And they use the same interface for rendering as JLists...
HTH
Mike

Similar Messages

  • HT1841 How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    Sorry. You're not making sense. Please re-phrase the question or post in your native language.

  • How to disable some of the table fields in Table Maintenance Generator

    HI,
    I am creating one table which contains 10 fields.
    But i wanted to disable some 2 fields in Table maintenance generator.
    So can any one plz tell me how to disable those 2 fields.

    Generate a maintenance view for the table,
    Goto- Table/Join Conditin Tab-- Put the name of your table 
    Goto-viewfield tab--- Put the fields whatever you required. 
    Then generate table maintenance for the view created.
    pls chk
    Thanks
    Anurag

  • How to disable some zooming tools in a chart?

    Hi,
    I am using a chart in LV6.1 and the user of VI, must not be able to change the Yscale limits, neither by editing scales nor by zooming tools.
    I used a property node and made the Yscale not editable. but How can I disable some of zooming tools such as window zoom or Y zoom? how can I limit access to "active tools" of a chart? is it possible?
    Thanks for any kind of help.

    With the graph palette not visible, you can still allow access to X-zoom by using property nodes and the Palette:Active Tool property.
    Demo in LV6.1 attached.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."
    Attachments:
    Only_Zoom_X__v61.vi ‏49 KB

  • How to disable a particular list item in flash cs3

    Friends,
    I need a small help on list component in flash cs3.
    assume that i have 5 items in my list and i want to disable 3,4,5 items from mylist box. how to do this ??
    item 1 -- enabled state
    item 2 -- enabled state
    item 3 -- disabled state
    item 4 -- disabled state
    item 5 -- disabled state
    using flash cs3, i want to achieve this , how to do this ?? any ideas pls..
    Rajesh

    Hi Rajesh,
    I've seen your query all over the internet, so I should warn you I don't believe it's possible to disable a List Item.
    For that you should use Josh Tynjala's open source Advanced List (http://code.google.com/p/flextoolbox/downloads/list).
    Best Regards,
    Filipe.

  • How to disable some color when printing separations in Ai CS6-CC (JS)

    Hello Everyone!
    Configuration: Win 7 Pro x64, Illustrator CS6x64-CCx64, default printer PDF.
    When printing separations from Illustrator CS4 following script prints all colors except Cyan (as was intended).
    But when printing from CS6-SS disable the color is not possible - all colors are printed without exception.
    var adoc = activeDocument;
    var o = new PrintOptions();
    o.colorSeparationOptions = new PrintColorSeparationOptions();
    o.colorSeparationOptions.colorSeparationMode = PrintColorSeparationMode.HOSTBASEDSEPARATION;
    o.colorSeparationOptions.inkList = adoc.inkList;
    for (var i = 0; i < o.colorSeparationOptions.inkList.length; i++) {
    if (o.colorSeparationOptions.inkList[i].name == 'Process Cyan') {
      o.colorSeparationOptions.inkList[i].inkInfo.printingStatus = InkPrintStatus.DISABLEINK;
    adoc.print(o);
    If you check, you have inkInfo.printingStatus Cyan changed to "InkPrintStatus.DISABLEINK".
    Why it is printed and how to disable?
    Thanks!

    Hi saaiful,
    Thank you for posting your question. window. will print header and footer.
    Here are some solutions I found after researching your issue:
    *[http://forums.mozillazine.org/viewtopic.php?f=12&t=216810]
    *[http://stackoverflow.com/questions/8228088/remove-header-and-footer-from-window-print]
    *[http://www.dreamincode.net/forums/topic/22598-using-windowprint-without-printing-header-and-footer/]
    *take a screenshot and create a page that is printable [http://www.webdeveloper.com/forum/showthread.php?210947-Using-window-print-without-printing-header-and-footer]
    *Target to another window then print: [http://www.liferay.com/community/forums/-/message_boards/view_message/3401817]
    Hope this helps.

  • How to disable some activities

    I want to disable some activities. Is that possible in BPEL?
    for eg:
    I have actitivity1, actitivity2, actitivity3 in a row.
    For testing, I want to disable actitivity2.

    hi,
    just add a switch activity and make its Expression evaluated to false(ex. 1!=1)
    then drag and drop the part of the process that you want to comment.
    regards
    arababah

  • How can i disable some text and item in the reports from printing

    i have a requirment to prepare a report for cheque printing on a formatted cheque paper..so i want the data should be printed in the paper not the whole thing..how can i do this...
    it is like this
    Name:- <coming from database>
    Address :-
    Rs :-
    in printing i need only the data not Name,Address and Rs headings..
    plz help me out??

    Hi,
    The usual method to influence whether an item should be printed or not is to adjust the function which lies underneath the item (simply return FALSE when you don't need it. You can also adjust the input and then return TRUE). I hope this will help you to solve your problem.
    Regards,
    Vincent ([email protected])

  • How to disable a lead selected item in a radio button group ?

    Hi,
    I have a radio button group and there are entries to create radio buttons dynamically. means there is only one radio button group in the UI design and in runtime I will be having two radio buttons (For ex: Yes and No ) . Now If I want to disable either Yes or No radio button, I am unable to do so. because If I disable the radio button group it disables both.  So, I can have lead selected item for ex: Yes which I want to disable. I want to know specifically how this Yes button to be disabled by taking lead selected index item.
    Please help.
    Thanks
    Praveen

    Try setting the radio button value of the lead selected button to abap_false/space.

  • How to disable some HTML and CSS property's

    Hello, I want to ask how I can disable or remove example:
    HTML:
    ice:editable=""
    ice:repeating=""
    ice:repeatinggroup=""
    (Each time I type "i" and want to have "id" DW suggesting me "ice")
    CSS:
    widows: (Each time I type "wi" and want to have "width" DW suggesting me "widows")
    backface-visibility: (Each time I type "b" and want to have "background" DW suggesting me "backface-visibility")
    Its very annoying. Please help me!!!

    David, what Tomas is saying and nobody seems to understand is that "backface-visibility" and "widows"  have no place appearing before "background" and "width" when you start typing "ba" and "wi". Alphabet has nothing to do with it. They :should be ordered according to frequency of use.
    I myself cannot remember the last time I have used backface-visibility or widows, yet I use background and width 200 times a day.
    As far as the new code hinting mechanism in Dreamweaver, i'm sure it's useful in some cases, but nobody is going to type "ack" to get to "background" because it's simply counter-intuitive, and there's no point in typing "widt" so that DW can suggest the last letter - "h". I'm experiencing frustration with these exact two properties.
    Also, most front end developers use more than one css editor and it's not reasonable to expect us to switch from one operating mode to another tens of times a day, since the other editors do not have Dreamweaver's middle-of-the-word-character-string-recognition functionality.
    SOLVED:
    I use Dreamweaver CS6 and these are my modified CodeHints files: http://designplus.ro/stuff/Modified-code-hints.zip
    I don't know if they work with previous versions of Dreamweaver, so please back up your files.
    You have to copy the .xml files to C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS6\configuration\CodeHints or wherever your Dreamweaver installation is.
    Enjoy!

  • How to Disable Price/Quantity of Items in ME22 Transaction?

    Hi
        I need to make the input disabled for Quantity and
          price columns of Item level details in a PO(ME22) if
          Invoice verification is done for that particular
          PO. If Invoice Verification is not done then i
          should keep the input enabled for that PO in
          ME22 or ME22N transactions.
        Can This be achieved through User-Exits.
        What is the Exit that helps me?
    Regards,
    Abhimanyu.L

    Hi,
    <b>set_item_property</b> will disable all the checkbox in the block. I dont want to disable all the checkbox in the multirecord block.
    My requirement is to disable <b> some of the checkbox in the multirecord block</b> based on certain conditions.
    For eg:
    i have a mutirecord block with checbox 'check1' and Textitem 'a'
    based on the value in :a, I have to disable/enable the corresponding checkbox.

  • How to disable navigation among searched items ?

    Hi All,
    Consider the Account Planner (or) PPR Application. If you search for multiple objects, you get a list of elemets (in the search result).
    Suppose you get a list of 10 account plans.
    If you open the account plan number 1, and go to the detail view, you will notice that there is a navigation button on the "Top-Right" corner of the object's detail. If you click the "Next" button in this navigation area, the account plan # 2 will be now displayed on the screen (it displays the next object from the search result list).
    My Question - Can we disable this navigation functionality ?
    Any help will be appreciated.
    Thanks,
    Raviraj

    Hi Baskar, thanks for the reply, however that solution will just
    cover the problem, I think I'm dealing with permissions but I couldn't
    find yet where to configure.
    Dealing with pcd objects permissions I handled access to
    ~/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fevery_user!2fgeneral!2fiViews!2fcom.sap.km.iviews!2fcom.sap.km.urlaccess!2fcom.sap.km.Navigation!2f
    ~/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2ftemplates!2fiviews!2fcom.sap.km.Navigation!2f
    when accessing /irj/go/km/navigation portal executes a copy of these original sap iViews
    into the every user role (eu_role) which if I restrict access to the entire role then I'd have
    another problem since the KM Document iView is there too, thus /irj/go/km/docs being
    restricted and going away and along with it all images and links to documents on portal.
    Fine, did some workaround - changed authentication scheme of the iView into the role,
    killing the delta link connection, so I can run a custom application that redirects to portal home.
    Things were supposed to be "solved", but then exploring these url and servlets, found
    some default settings and so pops up a new bastard child...
    /irj/servlet/prt/portal/prtroot/com.sap.km.cm.navigation/
    do you got any idea how to block it?
    kind regards,
    Rafael

  • How to disable some "columns to display"?

    Hello!
    I have one management pack (it's monitor some our network devices), which was written by contractors for our company. This mp have many unnecessary columns in it's view. I deleted some of these <ColumnInfo> 
    from mp (.xml file). Then I import mp but these columns
    have not disappeared.
    Can anybody help me? What should I do to remove these columns?
    P.S. I know that I can disable them with "Personalize view", but I want to do it
    centralized (all of the console users must see these changes).

    Hi,
    Since the MP was written by contractors, it is better to contact them edit the column.
    Meanwhile, after importing the management pack, please re-create monitor for
    a test.
    Niki Han
    TechNet Community Support

  • I don't understand how to disable some of the options for Safari 4...

    It seems that like a lot of other people here, I'm not that fond about some of the features introduced in the new Safari version; namely, the addition of the Top Sites portion, the removal of the blue loading bar, the relocation of the Refresh button, and other bits. While searching for a way to remedy these problems, I found another user here who had put a link to the following website:
    http://www.macfixit.com/article.php?story=20090225234804752
    Apparently, all I have to do is enter certain commands into the Terminal. But, the description is agonizingly vague, and when I try to just copy-paste and hit Enter, Safari remains completely unchanged. I got a Mac for the ease of use, since I'm pretty bad at figuring out the programming and coding stuff... which is why I'm having trouble here. Is there an easy to follow, step-by-step solution here?
    Thanks in advance to anyone who replies.

    Hi
    Welcome to Apple Discussions
    Those terminal commands no longer work in Safari 4. Coding has changed from Safari 4 Beta.
    In Safari 4 Beta, the easiest way to change the look of Safari was via a 3rd party item called Tweaks. I understand the developer intends to release an upgrade to Tweaks in the near future. There's really no telling yet what is changeable. However, the developer will be one of the first to know. Stay tuned....

  • How to disable some apps temporarily such as during the weekdays only?

    my sons school books will now be in ebook format on an ipad, how do i stop him from playing games when he is supposed to be doing his school work?

    yup, we've gone through these and it was really only the age-related ratings that seemed to work in the manner we wanted (to some degree, a little too much in fact since it removed almost everything).
    thanks for help, ive been looking through appstore but the closest i could find was a password protected folder for pictures and similar things but not really apps.
    maybe someone will make such an app as schools are starting to move in the direction fo ebooks and the like. at the moment, my only option is to not install any non-education related apps and keep the games on his ipod.

Maybe you are looking for

  • Windows 7 64Bit Wont sync, NOT gigabyte Mobo OR P55 chipset

    I have an MSI mobo with Nvidia 630i chipset, I cannot sync with my iPhone. In fact, things are so bad that when I try to sync my USB ports crash and the external HD stops working completely. I know its iTunes as everything works fine until I try to s

  • Workflow in Project server 2013 online not going particular stage after Approval

    Hi All, i have created workflow using sharepoint designer 2013 for project server 2013 online. and i have also set the approver after the first stage. when i create a project using this workflow, project is created successfully and the approval task

  • How to set the size for the content pane?

    * Login.java * Created on 15 March 2004, 17:17 import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.sql.*; * @author Mindwalker public class Login extends javax.swing.JFrame implements ActionListener {      private JFrame con

  • App store, Itunes, various apps just say loading and never load

    I have only had my ipod 4 for about a week, and Itunes, The App store, and numerous other apps won't load. Its just a grey screen that says loading. I have WiFi and I just updated my Ipod software last night....I reset my Ipod 4 times. PLEASE HELP!!!

  • HT4009 returns or credit

    My son purchases Mircrosoft Word apps trying to get the Word software on his iPad.  He purchased three different apps only to find out that they were not the software need to do word processing on the iPad.  Is there anyway to get a credit for these