Changing LookAndFeel for a single component

Is it possible to change the LookAndFeel for a single component (example FileChooser) ?
regards,
nirvan.

In the case of a file chooser: you can use JFileChooser which will use the current look and feel or you can use the old AWT FileDialog which will use the system's look and feel. The FileDialog naturally has less things you can do with it.Thanks for thre reply. Actually I want to use windows look and feel for the JFileChooser dialog, because the metal look and feel does not display default icons associated with file type. Right now I am switching to the windows look and feel just before the JFileChooser code and then when file choosing is done, switching back to metal look and feel. Is that alright or does that have any potential implications ?
regards,
nirvan.

Similar Messages

  • Change evtloglvl for a single user using srvmgr?

    We want to analyze some problems in our environment with one specific user.
    We use Oracle Siebel 8.2.2.3.
    We know commands for changing evtloglvl for components, but not for users.
    Is there any possibility to change the evtloglvl based on a user that log's in?
    We didn't find anything in the bookshelf.

    Also, depending on what you want to know maybe this document will be useful
    How to enable object manager logging for only one user? (Doc ID 751270.1)
    Thanks,
    Florin

  • Look & Feel Change For A Single Component of A Gui

    Hi All,
    I am using the wonderful windows XP look and feel that stefan krause has put together. However, I want to change just the background of the menubars. When I do menuBar.setBackground(color) this doesn't override what is the default colour set by the look and feel.
    I just want to change this little bit of the look and feel, what is the best way of doing this?
    Adam

    I switched back and forth by alternately calling
    UIManager.setLookAndFeel("com.stefankrause.xplookandfeel.XPLookAndFeel");
    ...create some components...
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    ...create some more components...
    UIManager.setLookAndFeel("com.stefankrause.xplookandfeel.XPLookAndFeel");
    ...and create even more...
    It seemed to work, but I'm not sure that's the best way.

  • Changing LookAndFeel for JSP

    Can some1 help me in changing the LookAndFeel of a JSP page?? What i want to do is create JButtons, JTextfields etc..... with a new LookAndFeel..just like we do for a swing JFrame...how can I do this for a jsp page ??

    I want hardware access on the server and not the client browserWell that makes things easier for you, you wont need to bother with an applet, you can use jsp.
    I have coded for accessing the hardware ports on server by using JavaOk so you have classes written already.
    You can access these classes / methods from your jsp page, however you will have to take out all the GUI stuff, so it is just the code for accessing the ports left in the classes.
    You then create your user interface using html etc. in a jsp page.
    Within your jsp you can call the methods of your java classes to embed information into the html.
    If you read up on accessing java beans, this will show you how to access your classes (even though your classes are not beans).

  • Different Style for a single component

    Hi Everyone,
    <<Searched in the forum but could not find my specific need.>>
    Environment : Studio Edition Version 11.1.2.3.0
    I have a multiple panelTabbed components in my applicatioin. I have a Custom SKIN for styling.
    But for one specific PanelTabbed,  the customer wanted to display the tabs as links. There are two questions here
    1. Is there a way I can display tabs as command links
    2. Using Css can i achieve showing tab as a link.
    Best Regards,
    bnkr524

    bnkr, you don't applay a different skin, but you applay a different style class from your active skin which changes the look & feel of the component.
    Sample: This is the active skin for an af:inputText cmponent
    af|inputText { padding-top: 2px; }
    af|inputText::label
      width:11.0em;
        display:block;
        float:left;
        color:#333333;
        background-color: #ffffff;
        margin-top:0.3em;
      text-align:left;
    Now you can define a new style class .mySpecialInputText as
    .mySpecialInputText af|inputText::label
         width:1.0em;
         text-align:right;
            background-color: #0f0f0f;
            padding-right: 3px;
    If you now specify the 'mySpecialInputText' as styleclass on an inputText component it uses the new style.
    Timo

  • Is there a way I can view the classic reader for the whole of Thunderbird without me having to change it for every single mail, 'cos the other view is confusing

    All views other than the classic view are unnecessarily complicated, confusing and - to me - irritating. The view of each individual mail can of course be changed which is tiresome. Is there a way to have Thunderbird - who is otherwise a very good mailing software - in classic view for all my e-mails. By way of one general button that allows classic view throughout.
    Thank you very much.
    Jacquot Verborgh

    eer... did you install the conversations add-on by any chance? Thunderbird has not changed the way it views mails ever I don't think, so I am looking for another cause in your case.

  • How do you change iMessage for a single contact?

    When trying to message someone that was an iPhone user but changed to a HTC phone, for some crazy reason, iMessage is still the default how can the on contact be changed?

    To disable iMessage for a former iMessage contact, two things need to happen in succession:
    1) the iPhone user must RECEIVE an SMS message from that contact, and
    2) the iPhone user must SEND an SMS message to that contact
    (not necessarily in that order)
    It should also be noted that if the contact ever sends an iMessage again, your iPhone will revert back to using iMessage until the above two steps are repeated.

  • How to set multiple styles on a single component in flex ?

    Hi ,
    I would like to know how to set multiple styles on a single component in flex.
    Can anyone give me an example as to how to set multiple styles for a single component ?
    Thanks ,
    Regards,
    Ajantha

    Hi tuliptaurus,
    You can setStyleName property for chnaging the external css dynamically by using the setStyle() method ...
    btn.setStyle("styleName","blendButtonSkinOther");
    You can change the external css by using the styleaName property with setStyle method..the line in blue..where blendButtonSkinOther is another css class..
    blendButtonSkin {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    blendButtonSkinOther {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    Thanks,
    Bhasker Chari

  • Sap Banking - Display change documents for accounts

    Hello,
    Can anybody help me? I need to write a report that shows all the change documents for a range of accounts, and I don't know how to retrieve this info. I know that there's a table BCA_CN_LINK that storages what object type was modified and by whom. But I don't know in which table the old and new data is stored for each change document.
    Any idea is welcome!!!
    Thanks a lot.
    Regards, Marcela Sanchez

    You can see the change documents for a single account vía transaction BCA_CN_ACCT_03 (Account Management -> Account -> Account Master Data -> Display Account) and then click the ChangeDocuments Account pushbutton

  • Change Log for Purchase Order

    Dear all,
    Just today, we've found out that one of our buyers always change the PO quantity when the supplier deliver more than they should.
    Before we do something like lock her access or even remove her from current position, we'd like to know how often and how much is the impact of her actions.
    We know that we can see the changes from the change log for every single PO; but if we want to know the changes from several hundreds PO ... looking at the log one by one may not a good idea .. LOL ..
    Do you have any experience with this or any idea on where (the tables) I can take a look ?
    Thanks,
    Markus

    Hi Markus,
    The details of  the 'Show History' function, for the  Purcahse Order, is contained in the ADOC (header information) and the AD01 (Row information). These two tables contain the exact same information as the OPOR and POR1 (Purchase Order header and row tables).  However, the history of all marketing documents in the database is saved in this table so there is a need to filter this table based on the Purchase Order documents only.
    What I would suggest is to create a query based on the ADOC and ADO1 and filter it based on the field 'ObjType' (Field Name is 'Object type'). The object type for the Purchase Order is '22'. As each update to a document is saved in the table there is a need to distinguish each version of the document. This is done with the 'Loginstanc' field in the both the ADOC and the ADO1, so this may help you with the query. After that the query can be filtered for any field that is visible in the Purchase Orders.
    There are other childeren tables of the ADOC which you may need. To find these, when in the Query Generator, open the 'Choose from List' to obtain the list of tables. Then in the 'Find' field type the letters 'ADO' this will bring all the tables starting with 'ADO' to the top of the list.
    One final thing, each update to a document is recorded to a usersign. Obtain the user sign of the user in question by running a query on the OUSR table and look at the figure in the field 'Internal_K' for that user. This is the number that will then be visible in the field 'UserSign' in the ADOC table.
    I hope this helps
    Noreen

  • No calendar change for a single event in a recurrring string of events

    Why won't iCal allow me to change the calendar for a single event in a string of recurring events? Why am I not allowed this, but can change other details and even get prompted whether I want these changes to take effect over the single event or all the recurring events????
    Could this be implemented in a future version of iCal???
    Thanks.

    How are you making the .ics file? What value has the METHOD: entry?
    AK

  • Change the SWF loading text for a single presentation

    This question was posted in response to the following article: http://help.adobe.com/en_US/Presenter/7.0/WS8815BC0A-5D22-4f29-87B9-D9047B5B57E4.html

    Hi,
      I have Adobe Presenter 7.0.5, in which with recently updating to 7.0.7 version.
    When I tried the fix of this "Change the SWF loading text for a single presentation" workaround fix, I passed to have the error:ReferenceError: Error #1069: Property ADOBE_PRESENTER not found on Pool_P75.Resource.UIText
    But before this error comes, I see that the loading text is changes from the original 2Adobe Presenter" to the one defined by me on the UIText, as the fix said.
    And what's happen is that the scrren with the loading text is not being changed by the learning first slide....
    Is there any workaround to correct that error?
    Many thanks in advance for any feedback from the adobe support team or from any other colleagues that are using Adobe Presenter (;-)).

  • Change log issues-2 images for a single requests

    Hi ,
    in change log table for a single request i found 2 before images and two after images, is this normal behaviour if not when can we see the such type of scenarios.
    because it leads to zero records when it isn updated in to the further data targets.
    thanks.

    the listener is NOT involved with any existing session.
    stopping & restarting the listener has NO impact on existing sessions.
    I suggest it is better to control network access to any system using a Firewall which is the best tool for this task.
    Yes, it is possible to have more than 1 listener. It is also possible to poke yourself in the eye with a sharp pencil.
    I suggest that you should avoid both of these possible activities.
    Simply put having multiple listeners is wrong for multiple reasons & should be avoided.

  • To change the JDBC driver for a single OC4J instance

    Hello,
    I implemeted an app with oracle adf (Jdeveloper 10.1.2 ) and it use Oracle Domain objects.
    I have an oas 10g (9.04.1) in windows
    and I want to change the default jdbc driver for a single oc4j instance
    in metalink i found the following information:
    1.- From OTN, download and copy the 10.1.0.x JDBC driver to a directory on the server. E.g OH/newjdbc
    2.- Opening EM-Website, navigate to the OC4J instance that should be altered.
    3.- Find the "Java-Options" and, add the -Xbootclasspath option to it, pointing to the new JDBC driver.
    E.g. -Xbootclasspath/p:$OH/newjdbc/ojdbc14.jar
    4.- Restart the OC4J instance
    my 'Java-optios' default is
    -server -Xrs -Djava.security.policy=C:\oracle\904\j2ee\test_adf\config\java2.policy -Djava.awt.headless=true
    my new 'Java optios' now is
    -server -Xrs -Djava.security.policy=C:\oracle\904\j2ee\test_adf\config\java2.policy -Djava.awt.headless=true -Xbootclasspath/p = D:\jdev1012\jdbc\lib\classes12.jar
    is this correct?
    now I cannot deploy my app
    Rigoberto

    Seems you missed something in step 3. From those steps the driver should be installed under C:\oracle\904\newjdbc and used in classpath, not d:\jdev1012.

  • HELP !!! can i change page-settings for a single page ??

    hi all,
    i´ve got a problem with my document settings:
    can i change the settings (especially the documentborders) for a single page, without changing the settings for the whole other document pages ?
    for example: page 1 --> border left 2cm , right 1cm
    page 2 --> border left 4cm , right 1cm
    PLEASE HELP ME !!!

    Hello mamamague
    All you need to do is select Insert->Section Break. A new page will be started. To adjust the margins you need to select the Layout Inspector (second icon on the top of the inspector) and adjust the margins in there. The Document Inspector still makes global changes and the layout ones are relative to them. It helps to turn Show Layout and Show Invisibles on so you can see what's happening to the document format as you play with these settings.
    Good luck!

Maybe you are looking for

  • Error 'songs were not copied b/c they cannot be played on this iPoD'

    Help! My PC crashed and I restored a backup of my music to my laptop. I installed the newest iTunes but when I went to sync my iPOD nano (first generation? I think) I got the above error. Over 2/3 of the songs wouldn't sync. The error listing says th

  • SOAP Reponse contains &gt and &lt instead of and

    I am new to Web Services. I wrote a simple SOAP client in Java. It seems to work and I get the SOAP response back; however the XML response has < and > instead of < and >. Am I making a mistake in my source code? I have placed my source code below an

  • Firefox had a problem and crashed. We'll try to restore your tabs and windows when it restarts.

    do not know what's going on but the Firefox crashing, and is still crashing, and crashing back again .. This problem is not resolved for a long time 'and I wonder why not fix this problem so far? These details. We're Sorry Firefox had a problem and c

  • On (release) action problem - how to fix the loading issue?

    Hi, I'm making a progress with the website in Flash. I have pretty much things already done. Motion tweens that change alpha in percentage ammount are working correctly - I've used them for loading pages but I encountered a one tiny problem... Descri

  • Materialized View Not Refreshing

    Hello, I have a materialized view that is not refreshing. I tried to set it to refresh it every 24 hours by specifying the following: REFRESH COMPLETE START WITH sysdate+0 NEXT sysdate+1 The database modified it to be: REFRESH COMPLETE ON DEMAND STAR