How to change the JFileChooser's color on the title?

I have a open JFeileChooser and I don't know why but the color changed to green in the open dialog window.

you can have a limited color range like this
import javax.swing.*;
import java.awt.*;
class Testing
  public void buildGUI()
    JDialog.setDefaultLookAndFeelDecorated(true);
    JFrame f = new JFrame();
    f.setLocationRelativeTo(null);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    JFileChooser  fc = new MyFileChooser(".");
    f.pack();
    f.setVisible(true);
    fc.showOpenDialog(f);
  class MyFileChooser extends JFileChooser
    public MyFileChooser(String currentDirectoryPath)
      super(currentDirectoryPath);
    protected JDialog createDialog(Component parent) throws HeadlessException
      JDialog myDialog = super.createDialog(parent);
      myDialog.getRootPane().setWindowDecorationStyle(JRootPane.PLAIN_DIALOG);
      return myDialog;
  public static void main(String[] args)
    SwingUtilities.invokeLater(new Runnable(){
      public void run(){
        new Testing().buildGUI();
}other options to try
NONE
FRAME
PLAIN_DIALOG
INFORMATION_DIALOG
ERROR_DIALOG
COLOR_CHOOSER_DIALOG
FILE_CHOOSER_DIALOG
QUESTION_DIALOG
WARNING_DIALOG

Similar Messages

  • How to change the title of an object in the build order window?

    In Keynote '09 v5.1.1 (1034)... How to change the title of an object in the build order window from the default "dropped image" to a specific title?
    I'm running the following:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro2,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.33 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 4 MB
      Memory: 2 GB
      Bus Speed: 667 MHz
      Boot ROM Version: MBP21.00A5.B08
      SMC Version (system): 1.14f5

    Custom names can't be applied to objects in the build list.
    They are labeled as either; text, shape, table, chart or the filename of an image

  • FPM - How to change the title in a component configuration

    Hello,
    I am working with the component configuration EHHSS_INC_REC_NRM_QAF_V3 (version 7.31) and I need to change the title of the tab. I created an OTR with the text "Report Near Miss test". I changed the application title and I also change the tooltip text in the IDR to this OTR.
    When I executed it, I only see the modication on the tooltip. Why the application title is not shown with the modification? How can I modify also the tab and the title?
    Thank you for your help!
    Marie-Josée

    Hello,
    Thank you for your time. The application configuration is link to the business object EHHSS_INCIDENT...I did not find a view. I do not have a lot of experience in FPM so can you show me how? I looked in BOPF but I am not able to do it with an enhancement
    Marie-Josée

  • How to change the title of a block/form/table in the WebIC CRM 2007 ?

    Hi,
    We want to change the title of a block in the work area for example from 'Account details' to 'Partner details'.
    After investigation we think that we have to change the text in SOTR_EDIT transaction by editing the Alias or defining a new one with the desired title.
    The problem is that when we search for the alias in the OTR maintain initial screen , we get a list and we don't know which one is the alias associated to the title of our view..
    Is it the right way to proceed or is there any other solution ?
    Your help is highly appreciated.
    Regards
    Nabil.

    Hi Nabil,
    Its so simple,
    Go to the Component/ View : BP_HEAD/BPHEADOverview
    Click on the CONFIGURATION tab.
    Alt+Click on the BP_HEAD : AccountViewSet : Account Details
    Juss Change the Title Account Details to Partner Details.
    That's it. Your block title is changed now from Account Details to Partner Details.
    Best Regards,
    Shiven

  • How to change the title of an existing document?

    I have looked in online manuals and there are no headings for this.  I wish to change the title of an existing documents but can find no way to do so.  Any one have help on this? 

    You can also change the file name in Finder.
    peter

  • Does anybody know how to change the title of your podcast on iTunes and the description of it?

    I was working on my feed site and when the podcast popped up on iTunes I realized that I put the wrong info and title on it. Anybody know?

    You change the title and descriptions by entering the changed versions in wherever you originally entered the items in whatever system you are using to create your feed, then re-publish the feed; it will take the iTunes Store a couple of days or so to catch up.
    However, if the method you are using to create your feed is one of those which uses the title of the podcast as part of the URL, and this changes if you change the title, then if you change the URL as a result the iTunes Store will lose contact with it and fail to update in future: so be careful about this.

  • How to change the title of a report by programmation at the run time?

    Hi,
    I would like to change the title of my report at the run time.
    Is it possible?
    If someone can help me...
    Thanks,
    Mbo

    hello,
    what do you mean with "title" ?
    a couple of approaches :
    - Runtime Customization
    - lexicals
    - before report escape HTML
    regards,
    the oracle reports team --pw

  • How to change  the title of a screen dynamically

    hi,
    i have a screen , which will be called repetedly for different set of groups.
    i want to display the group name as title .
    how can i handle this
    Regards,
    Sarath P

    Hi,
    When creating Gui title use placeholders(&1, &2 etc) in it.
    *For example : * Change PO &1 by &2
    And while setting title bar use WITH addition as;
    lv_po = '40000023'.
    lv_user = 'SAPABAP'.
    SET TITLEBAR 'TIT1' WITH lv_po lv_user
    Now in the title bar it will display as;
    Change PO 40000023 by SAPABAP
    Regards
    Karthik D

  • How to change the title bar wdith , scroll bar widths in tune with a 7" screen

    can you please help me customize my user chrome section so that I can REDUCE the WIDTH of the scroll bar ( horizontal and vertical ) . That is , at max the scroll bar can be ___ pixels of __ % of total width. ( prefer the relative reference )
    Also the title bar ( that black surrounding area that bears the minimize, maximize,close buttons ) needs its width reduced to half of what it is now. How do I do this ?

    No. That doesn't work any more. In current Firefox versions native scroll bars are used and you can't do style those via userChrome.css (user interface; chrome windows) and userContent.css (websites). You can try a large theme if you do not want to make the changes via the Control Panel

  • Display PDF document from Servlets to browser - how 2 change the title

    Hi, need help of changing the html title when Display PDF document from Servlets to browser. By default the browser's title shows the obsolute URL where the rdf comes from (i.e. http://www.google.com/sample.pdf), because servlet responds a binary data (PDF), there seems to be no other way to change the browser's title to fit my own choice.
    Appreciate your quick help,

    You can try and check with
    .setTitle("Welcome");

  • Implemented webutil , how to change the title Webutil

    Hi All,
    We have implemented webutil. However the application title in the browser gets appended to xx application - Webutil . Now how do I remove the " - Webutil "
    IAS 10g R2.
    I have set the title in the formsweb.cfg as "xx application.
    Not able to figure out from where " -Webutil" is coming
    Thanks
    Rajesh Alex

    1     Download Jacob 1.8 archive and webutil 1.06
         CREATE USER webutil IDENTIFIED BY Webutil$123
    DEFAULT TABLESPACE users
    TEMPORARY TABLESPACE temp;
         GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
         GRANT RESOURCE, CONNECT TO WEBUTIL;
         REVOKE UNLIMITED TABLESPACE FROM WEBUTIL;
         create public synonym webutil_db for webutil.webutil_db;
         grant execute on webutil_db to public;
    grant EXECUTE on WEBUTIL_DB to PUBLIC
         Login as webutil user and create_webutil_db.sql
    Sign the Jar File jacob.jar and frmwebutil.jar
    2.     copy jacob.jar and copy frmwebutil.jar to ORACLE_HOME/forms/java directory.
    3.     . Create directory webutil under [OraHome]\forms\webutil and .
         . copy jacob.dll , JNIsharedstubs.dll, d2kwutil.dll
    4.     . Forms.conf AliasMatch ^/forms/webutil/(..*)      $ORACLE_HOME/forms/webutil/$1"
    ( in 10g R2 it is already configured)
    5.     In the default.env update
    WEBUTIL_CONFIG=/opt/oracle/product/10gas/forms/server/webutil.cfg
         CLASSPATH=c:\temp\webutil\lib\frmwebutil.jar;c:\"Program      Files"\Java\j2re1.4.2_06\lib\rt.jar (Include rt.jar)
         Also include C:\Dev10g\forms\java\ frmall.jar
    10 Formsweb.cfg create a new config section
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=basejpi.htm
    baseHTMLjpi=webutiljpi.htm
    #archive_jini=frmall_jinit.jar
    lookAndFeel=oracle
    form=WELCOME.fmx
    userid=webutil/Webutil$123
    width=955
    height=545
    jpi_download_page=https://java.sun.com/products/archive/j2se/1.4.2_09/index.html
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_codebase=https://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.
    cab#Version=1,4,0,0
    jpi_mimetype=application/x-java-applet;version=1.4
    11. Copy webutilbase.htm webutil.cfg webutiljini.htm webutiljpi.htm to
    $ORACLE_HOME/forms/server
    rt.jar is not in the classpath
    On UNIX platforms, Forms needs to locate the libjava.so file so the LD_
    LIBRARY_PATH on most UNIX platforms including Linux, will need to contain
    the directory that holds this file. For instance on Linux this would be $JAVA_
    HOME/jre/lib/i386/native_threads. Again the Java runtime install that is part of Oracle Application Server or Oracle Developer Suite is ideal
    12. copy sign_webutil.sh to webutil folder
    sign_webutil.sh $ORACLE_HOME/forms/java/jacob.jar
    sign_webutil.sh $ORACLE_HOME/forms/java/frmwebutil.jar
    13. compile webutil.pll , fmb
    comp_webutil.pll
    mv *.plx ../forms
    Also put webutil.olb in forms folder.
    $ORACLE_HOME/bin/frmcmp module=$ORACLE_HOME\forms\webutil.pll

  • How to change the Hello Portlet in Jetspeed2 Demo

    hi ppl,
    I am having a big problem..
    I can't change the portlet title, hello portlet, in the jetspeed 2 demo.
    The strange things is that i am able to change the title of the pickANumber portlet.
    @ Portlet.xml
    <portlet id="PickANumberPortlet">
    <init-param>
    <name>ViewPage</name>
    <value>/WEB-INF/demo/simple/PickANumber.jsp</value>
    </init-param>
    <init-param>
    <name>HelpPage</name>
    <value>/WEB-INF/demo/simple/PickANumberHelp.jsp</value>
    </init-param>
    <init-param>
    <name>EditPage</name>
    <value>/WEB-INF/demo/simple/PickANumberEdit.jsp</value>
    </init-param>
    <portlet-name>PickANumberPortlet</portlet-name>
    <display-name>Pick a number game</display-name>
    <portlet-class>org.apache.jetspeed.demo.simple.PickANumberPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    <portlet-mode>HELP</portlet-mode>
    <portlet-mode>EDIT</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <supported-locale>fr</supported-locale>
    <supported-locale>ja</supported-locale>
    <resource-bundle>org.apache.jetspeed.demo.simple.resources.PickANumberResources</resource-bundle>
    <portlet-info>
    <title>Change TITLE</title>
    </portlet-info>
    <portlet-preferences>
    <preference>
    <name>TopRange</name>
    <value>100</value>
    </preference>
    </portlet-preferences>
    </portlet>
    See.. i just replace that data in the portel-info/title.. and it changes the title in the pickANumber portlet change..
    But strange! i can't do the same way for the hello portlet
    Can someone tell me how to change the title in the hello portlet...
    Pls help.. i am running out of time!

    The hello portlet uses the title string in property file, thus you may need to modify the file "demo\WEB-INF\classes\org\apache\jetspeed\portlet\helloworld\resources\HelloWorldResources_en.properties" to change its title.

  • How to change the Browser title when report runs on the web?

    Hi folks,
    How to change the title of the browser when I run my report on the web? Iam using Internet explorer and Reports 6i. Is it possible in 6i or 10g reports?
    Could you please tell me the step by step procedure ?
    Right now the browser is displaying the URL when I run the report with format = PDF.
    Thanks.

    It works for me. I don't see why you have a problem with >this code.
    Can you look at the source code of the html >file that was created (so, not in the browser, but in a >text editor). What do the header and title look like?The Html code in the file is same as the above code I specified. Actually I copied the same code and pasted here. But when I run the html file the Title shows up.
    Don't put </html> there. Maybe that helps. I tried this, but it did not work.
    Please let me know is there any way to set it dynamically inside the triggers using SRW built_in.
    Thanks alot.

  • How can I change the title I see on my application

    I'm aware it may seem a silly question, but I don't know how to change the title I see on my application. I don't mean the name of the application, but the one appears above on the page. If I change simply the name of the application this dosn't change on the page when I reun the application.
    Where do I have to change it? Tabs, lists, where else?
    Thanks!

    In the Application Definition (Shared Components) create a substitution string APP_NAME. Enter some value there. In the page template header add this:
    &lt;title>&APP_NAME.&lt;/title>Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Google submission is fine, but no way to change the Title

    I am up on Google just fine, searching my name is #1. I'm halfway there.
    What I want to know is how to change the title that Google uses me for. Something simple to "Shawn Strickland" from what it already has, "visit iShawn's website".
    quick link: http://www.google.com/search?client=safari&rls=en&q=shawn+strickland&ie=UTF-8&oe =UTF-8
    I've looked in the html files after exporting and I can't seem to find the title attribute in the index.html.
    Any clues?

    So then it seems like it has to do with iWeb's home page for your site, which is called Home.
    I just now realized I don't need a folder called Site that my entire site fits in, so I removed that complication as well. However there still sits an index.html page which I guess redirects to my Home.html page both of which I changed the title to something more appropriate like "Guitarist Shawn Strickland."
    I appreciate the input!
    BTW: Deletion of the index.html page leads to a forbidden error. Apparently that file is important, however I don't see any tags that actually forward to the home.html. Odd.

  • Can we change the title of "Java Web Start" window?

    Hi while running our application into "Java Web Start" using jnlp configuration file, may I know how to change the title of Java Web Start Window.
    At present it show the title like "Java Web Start" I want to customize, is it possible? , How?

    As far as I know this is not possible. You can customize the splash window displayed with the jnlp how your told, but the title of the window cannot be changed.
    Edited by: Phlipp_Meier on Oct 5, 2007 6:14 AM

Maybe you are looking for

  • HP Officejet Pro 8500A & Windows 8

    My new computer is loaded with Windows 8 and my HP OFFICEJET PRO 8500A program disk (version 22.0.0) is only compatible with XP, Vista and Windows 7 and it will not loadup. Can a more current program disk for my printer be obtained to support Windows

  • How to capture the data input in the input box like text box  on webpage?

    I would like to know how to use the data we key in in the textbox on the webpage and write it to database using JSP

  • How do I drag and drop an attachment into a Gmail message I am composing?

    I just installed Firefox 4.0 onto a newer notebook PC. It doesn't behave the same as Firefox 3.6.16 on my older notebook PC. I use Google mail a lot. On my old machine, whenever I am composing an email all I have to do is drag and drop a file's icon

  • Tngsten E Won't Hot Sync

    I just dug my Tungsten E out of storage so my son could play with it but I can't seem to get it to Hot Sync to put games on it. I keep getting the 'The connection between your handheld computer and desktop could not be established' message. I remembe

  • MacBook Air 13" is taking a very long time to boot up

    My daughter purchased a MacBook Air 13" last 1.7 GH Intel Core i5, 4GB Memory. A couple of weeks ago, my daughter noticed that her computer was taking a long time to boot up. Apparently the bootup time has progressively lengthened to 3 - 5 minutes to