Prevent Container.setCursor from influencing cursor for all components

Hi
As you might know, "setting the cursor of a Container causes that cursor to be displayed within all of the container's subcomponents, except for those that have a non-null cursor" (Component.setCursor javadoc)
Anyone has an idea how to prevent this?
except going thru the component hierarchy and setting the comps' cursor to default ...
Thanks
Eyal

Anyone has an idea how to prevent this?
except going thru the component hierarchy and setting
the comps' cursor to default ...I had a similar problem... Unfortunately, there is no other way,
Miso

Similar Messages

  • How can I prevent deleted mail from ending up in "All Mail"     and "Archives"?  To my horror, I've emptied these boxes and lost all my mail from all my boxes  (and why do I need to enter this question three times?"

    How can I prevent deleted mail from ending up in "All Mail" and "Archives"? 
    To my horror, I emptied these boxes and lost all my mail from all my boxes .
    All mail also disappeared from my iPad, I suppose because they are "synched"
    (Also, no offense, but why do I need to enter this question multiple times?)
    Thanks for any thoughts.

    I'm having a similar but slightly different problem. My company just migrated to Gmail, and it's saving mail drafts every 30 seconds into my Trash folder.
    I unchecked the "Show in IMAP" preference in the Gmail settings, but my Drafts folder completely disappeared. I went back and checked it and the folder reappeared (with my drafts still in there).
    I like the idea if starting an email on my laptop and having the option of finishing it on my iPhone or iPad, so only saving Drafts locally would not be ideal.

  • Change BgColors, FgColors for all Components in a Container?

    Is there a possibility to change the Background Color, the Foreground Color and the Fontsettings for all Components in a Container? Each Component in the Container should get the Colorsettings of the Container...

    Just overwrite the add, setBackground(), setForeGround() and the Font-methods of the Container:
    public void add(Component c){
    super.add(comp);
    comp.setBackground(...);
    comp.setForeground(...);
    //...the Font-stuff
    public void setBackground(Color c){
    for(int i=0;i< getComponentCount(), ++i){
    getComponenetAt(i).setBackground(c);
    //the same for setForeground and the Font-methods.

  • Changing the Text Cursor for all Text Components

    Hi,
    The users have asked me to change the text cursor i.e, the vertical cursor for all the text components in our application.
    Is there a common way to change it , without having to call the setCaret method for each of the text components ?
    I saw that Cursor class has a Cursor type called TEXT_CURSOR. I'd like to be able to change that cursor.
    Any ideas, suggestions?
    Thanks!

    I was talking about the blinking vertical caret - sorry I got confused between the I-beam cursor and the caret(!).
    I wanted to change the caret color at the very least.
    Although preferably, I would like to make it a bit wider.
    I just found one solution to change the caret color across all the textfields using UIManager -
        Color caretColor = Color.GREEN;
        UIManager.put( "TextField.caretForeground", caretColor);
        UIManager.put( "FormattedTextField.caretForeground", caretColor);
        UIManager.put( "TextArea.caretForeground", caretColor);
        UIManager.put( "PasswordField.caretForeground", caretColor);Thanks

  • Purch. Req. for all components in PM Order

    We have some Maintenance order (IW31) that follows this behavior.
    1. For the plant "AAAA", for EACH component in the order the system generates ONE Purchase Requeriment, it means, 5 componentes = 5 Purchase Requeriments.
    2. For the plant "BBBB", for all components in the order the system generates ONLY one purchase requeriment, it means, 5 components = 1 Purchase Requeriment.
    What does generate this different behavior? How (and where) can I configure that always all the orders follow the 2nd behavior? Is it part of PM or PU configuration?

    Dear,
    Go to SPRO -> Plant Maintenance and Customer Service -> Maintenance and Service Processing -> Maintenance and Service Orders -> Functions and Settings for Order Types -> Define Change Docs, Collective Purc. Req. Indicator, Operation No. Interval
    T CODE OIOE
    Here is setting for One collective purchase requisition per order and Plant.
    Regards,
    R.Brahmankar

  • Remove Collapse/expand icons from the tray for all user except administrato

    Hi,
    My requirement is to remove the expand/collapse icons from the overview page for all the user but administrator can have those available.
    I have set the show tray property to NO , this has made the complete tray invisible for all including the administartor as well.
    I want the only icons to be inviisble and not for administrator.
    Please provide your valuable inputs.
    Thanks
    Pooja

    Hi
    The best practice in Portal is to create 2 different design, one for users, one for administrators. I mean design : Desktop, Framework Page, Theme ...and so on.
    This allows you to manage two ways of displaying or not informations, for sure user view should be different of administrator view.
    And you also in your case you should have tow different "overview" iViews, one for users one for administrators.
    The "show tray" property should be yes (otherwise you won't see anyting ), but the property "Show Expand/Collapse icon in tray" to NO.
    I hope it will help
    Best regards
    johann

  • Create material from reference material for all org.levels

    Hi,
    i want to create a material from a reference material with all MARA, MAKT, MARC, MBEW, MARD, MARM, MVKE, MLAN, MLGN and MLGT content for all organizational levels of the reference material.
    For instance, my reference material has 200 MARC entries. All these entries should also be created for the new material.
    Transaction MM01 will copy from reference but only for 1 organizational level. To create 200 plants manually with MM01 is not an option.
    I have to develop a copy from reference transaction, where i select the new material number, the reference material number and the required tables (MARA, MAKT, etc)
    I can read the current tablevalues and insert new entries into the required SAP standard tables, but that is not nice.
    Is there another option to do the job ?
    I know there are bapi's, but these are related to one org.level. For 200 plants, i have to execute 200 bapi to get the data from the reference material and another 200 bapi's to create the new material.
    with kind regards,
    Hans

    Hi Goutam,
    You can use the BAPI BAPI_MATERIAL_SAVEDATA, which will create/update the material. You can pass the reference material in the filed BAPI_MARA-PL_REF_MAT. And you can pass reference material for all view like this.

  • Block all websites apart from the homepage for all users. Citrix environment with Server 2003.

    Citrix Xenapp 5 and Windows server 2003 environment. We want to force Firefox to kiosk mode with a pre-set homepage for all users. I also want to lock this to only one website. I have managed to set up the kiosk mode with R-Kiosk addon and Mozilla.cfg file. I am trying to use BlockSites to block all internet sites and only allow the one site with the whitelist option. I can get the addon to install for all users, but can’t get the default settings across. I have tried to add this with the Mozilla.cfg file, but it looks like this addon is getting it’s settings from the profile folder. If I set the preferences for the addon in Mozilla,cfg file, it actually picks it up but it doesn’t apply it to the addon for some reason. Does anyone have any other ideas on how I can lock this down to the one site?

    I am not entirely sure how to do this, but the enterprise community would be a good place to ask. They have a email group you can ask on this page: [https://www.mozilla.org/en-US/firefox/organizations/faq/]

  • How can I select a smaller font for all components of a Swing application?

    The default size of font in Java Look and Feel is 12, how can I change it to 10 globally for my Swing application ?
    Thanks for your help.
    Helen

    It is not very simple because all components don't use the same fonts and if you don't want to subclass the l&f you can do this :
    after setting the l&f (in the main for example)
    Font f = new Font("dialog", Font.PLAIN, 11);
    UIManager.put("MenuItem.font", f);
    UIManager.put("Menu.font", f);
    UIManager.put("MenuItem.acceleratorFont", new Font("dialog", Font.PLAIN, 10));
    UIManager.put("Label.font", f);
    UIManager.put("Button.font", f);
    UIManager.put("ToggleButton.font", f);
    UIManager.put("ToolTip.font", f);
    UIManager.put("List.font", f);
    UIManager.put("Table.font", f);
    UIManager.put("TextField.font", f);
    UIManager.put("ComboBox.font", f);
    UIManager.put("RadioButton.font", f);
    UIManager.put("CheckBox.font", f);
    UIManager.put("RadioButtonMenuItem.font", f);
    UIManager.put("CheckBoxMenuItem.font", f);
    UIManager.put("TableHeader.font", f);
    UIManager.put("Spinner.font", f);
    UIManager.put("Panel.font", f);etc...
    Denis

  • Generate Documentation for all components in a project

    Hi there,
    V12.0.8 -- Is there a way to generate documentation for ALL transactions in a project at once.  Instead of having to open each one individually?
    Thanks,
    --Amy Smith
    --Haworth

    Amy,
    No there isn't but it's a good suggestion and I will add it to my list of feature requests.
    Sam

  • How do I keep my wife's IPhone from alerting her for all of MY appointments?

    Both IPhones and my MacBook Pro are sync'd to the same ICloud/ITunes account.
    My plan:  Use 3 separate calendars to organize our appointments - one for her, one for me, and one joint calendar.
    I keep trying to unselect my calendar on her phone to keep my appontments from alerting her.
    I guess the ICloud keep reselecting that calendar on her phone.  We both receive all alerts.
    Is there a way to have ICloud only sync certain calendars with certain IPhones?  Or is it an all-or-nothing deal?  That would be so dissapointing.

    An icloud account is really designed for one user.  Unless you want all your devices to be identical (same emails, contacts, calendars, photos in the stream, etc.) your wife should have her own account so she can keep emails, etc. as hers, not yours also.
    With calendars, you can make some "sharable" so two user can share events, the other calendars are personal, for each user.  Log into icloud.com, go to the calendar page, click small icon next to a listed calandar (click the Calendar button first if there is one) and select sharable.
    As for itunes account - you can both share the same account for sharing music, apps etc. without having to re-buy them.

  • Block payroll data from cost center for all users except HR team

    Hello Expect,
    Could any body please advise me  how can I restrict some HR data  in cost center view from FICO,CRM,SRM and other team,
    Now when other team see cost centers it display all data booked there but my client want to restrict some HR data from them
    In my project there are 151 roles that can display cost center dat including HR data,
    Now my requirment is how can I restrict only HR data belongs to a cost center
    I mean to say they should be able to see all cost center data exept a cost center containing HR data.
    Please advise how to get solution
    Thanks and Regards

    Hi,
    in  T.code PFCG do to the role of the appropriate usr to whom u want restrict cost center.
    Hope this helps.
    Reagrds
    S.Ravi

  • "Insufficient Space" error preventing app download from App Store for MacBook Air 2013

    Hi,
    I am using a MacBook Air 2013 model with OS 10.9.4 (Mavericks).  It has a 120 GB HD with about 17 GB of free space.
    I am unable to download from the Mac App Store as I get an 'insufficient space available" error whenever I try to purchase a larger App (> 2 GB).
    After looking through the forums I can confirm the following:
    - Both the Finder and "About This Mac" report that 16.5 GB of space is available.
    - I have toggled Time Machine and restarted my computer with it "On" and "Off".
    - The application description does not mention needing more space for installation (specifically I am now trying to download BioShock 2 which needs about 9 GB).
    I tried to contact Apple Support for the App Store and they informed me it was a hardware issue.  I do not have Apple Care and do not think this is a hardware issue so would rather not pay the 20$ for support.
    Cheers,

    If you're trying to add a large amount of data all at once, and you get an alert of insufficient space, then from the menu bar, select
               ▹ System Preferences... ▹ Time Machine
    If the padlock icon is closed, click it to unlock the settings and authenticate. Turn Time Machine OFF, then back ON and close the preference pane. Restart the computer. Test.

  • Authentication from Win-Domain for all OU s.

    Hi,
    we have Win-Domain server which has users in different OU's(organization units). I use standart LDAP authentication for my apps.
    DN string: cn=%LDAP_USER%,ou=accountants,dc=mydomainname,dc=com
    But it is problem. Because users from different OUs can not use my application in same time.
    I tried number of different DN strings but it does not.
    How can I solve it?
    Edited by: Zair S. on Dec 5, 2012 4:15 AM

    Hi Zair,
    I don't know AD configuration well enough and I also don't know how you want to distinguish if a entered username exits in both organisations, but
    you might be able use the "LDAP Username Edit Function" function to get what you want.
    You could use that function to manipulate your DN String on the fly to also return the organisation. For example if you
    1) set your DN string to
    cn=%LDAP_USER%,dc=mydomainname,dc=com2) and create a "LDAP Username Edit Function" like
    return apex_escape.ldap_dn (
                 p_string => :USERNAME,
                 p_escape_non_ascii => false ) || ',ou=accountants';3) "Username Escaping" attribute would be set to "No Escaping".
    Note: You would have to add your own logic instead of the ',ou=accountants' to determine which OU should be set based on the user or some other setting.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf
    Edited by: Patrick Wolf on Dec 5, 2012 3:21 PM

  • Changing font and background color for all components

    Hi,
    This is my first time writing a GUI, and I'm pretty new to Swing and Java. I just recently switched from C++, and so far Java seems to be doing a nice job =)
    Currently I have a gazilion components (textfields, labels, panels) and I'm wondering if there is a way to change their background/foreground colours without adding in setBackground/setForeground for every single component.
    I've done some researching onto using Look and Feel, but there aren't any current ones that suits my needs. And everyone seems to mention that programming your own is pretty complicated.
    My boss wants a slick white text on black background interface, so you can imagine that he's not very impressed with the current default greyish colours =)
    Thank you for any help!
    Cindy

    Hi Cindy,
    I'm not sure how effective a solution this will be, but you could try:UIManager.put("TextField.background", Color.BLACK); // Default text field background becomes blackThere are many more defaults you'd have to change and could probably achieve it more reliably and simply by creating or editing the properties file that controls the way the look and feel (even if it's the default) is implemented. Take a look at:
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/UIManager.htmlHope this is helpful
    Chris.

Maybe you are looking for