JFileChooser Win2000 Vs XP Look GUI in 1.4.1

I observe that with 1.4.1 the JFileChooser has most of the Win 2000 File Chooser functionality, however when this same code is run on a Win XP environment I get the older(1.3.1) JFIleChooser UI, with a lot odf the functionlity (that is now provided in 1.4.1 with the 2000 env )missing.
Please confirm that this is caused becuase the Java 1.4.1 native implementation for JFileChooser does not support XP or is this becuase I'm missing something in my code. Are there work-arounds so that the solution provides similar Look and feel in both Win2000 and Win XP.
Thank you for your time.

At the beginning of your main add the lines :
    public static void main(String[] args) {
                System.setProperty("os.name", "Windows 2000");
          System.getProperty("os.version", "5.0");
          try {
               UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
          catch (Exception ex) {
               System.out.println(ex);
    }I hope this helps,
Denis

Similar Messages

  • How to create good looking GUI workflows without Infopath forms

    Hi All,
    I have to create Good looking GUI without using Infopath Forms for use in workflows.
    Since Infopath support will gradually go off I want to use some other technique so that it can be used in long run.
    Please let me know a good solution.
    Regards,
    Navy

    You can use Visio to obtain nice visual flows.. for your workflow.. In 2013 you can use visual designer..
    Please refer link below..
    http://blogs.msdn.com/b/sharepointdesigner/archive/2012/10/22/introducing-the-new-visual-designer.aspx
    Nintex or K2 are good options specifically nintex if you can afford them..

  • JFileChooser problems in GTK look&feel

    Hi,
    the JFileChooser dialog is just ugly and not acceptable when using the GTK look&feel, there are so many layout problems and display errors. It also does not look like the native dialog. I'm using Ubuntu Linux 7.10 and Gnome 2.20.
    My application uses the GTK look&feel, because most of the normal widgets look nice. Is there a way to use the same JFileChooser dialog layout as it is in the Metal look&feel when using the GTK look&feel? This would be an acceptable workaround...
    Thanks,
    Stefan

    I don't believe it will be supported under any platform but *nix platforms.  The GTKLookAndFeel currently requires native theme information which is not available on the Windows platform.                                                                                                                                                                                                                                                                                                                                                                                       

  • Ugly frames in java. Want to make a nice looking gui.

    Well basically i don't want to use a square ugly standard java frame, or usual window.
    I want it to be individually shaped. Just like the windows media player.
    If you put it in compact mode, it removes all visuals of a real windows and looks really good.
    Is that possible to do with java? And if so, how?

    search the forums, this question has been asked in other forums MANY times.
    the basic answer is NO,
    there are several ways of getting a similar effect, but none are a 'proper' solution.

  • New, good looking GUI.

    Dear experts,
    I am finding the option for having a a crystal like gui theme. I have seen it, but dont know how to set it. I searched the customize layout button but didnt find it.
    I am using GUI release- 710 Final Release
    and patch level 8
    Please help.
    Regards,
    Sumit Nene.

    check in your control panel-sap configuration-mark the signature design option if available.
    It available only for versions 7.1 and higher and patch 11.
    link:[http://sapport.blogspot.com/2009/06/new-signature-design-for-sap-gui.html]

  • Nice looking GUI controls

    Hi,
    do you know a way how to create such a control:
    toolbar on a top and some other thing (e.g. tree) on the bottom? Well, this is quite simple, you can use splitter and put a toolbar to the top container and tree to the bottom container, but then it looks, let's say, not very nice, because there is a gray line between and toolbar has no background. I would like to create the same set of controls, but e.g. like in ALV Grid, so toolbar on a gray background and between a toolbar and a tree nice black thin line. Do you think that it is possible?
    Many thanks for some hints and regards,
    Marcin

    search the forums, this question has been asked in other forums MANY times.
    the basic answer is NO,
    there are several ways of getting a similar effect, but none are a 'proper' solution.

  • Servlet and JFileChooser

    I want to use the JFileChooser object to open and save files. I can't do this with an applet (access violation errors) so now I hope I can do it with a servlet. Is this possible? If it is, how? Does anyone know where I can find some sample code?

    No. A servlet runs on a web server, and is (usually) requested by a browser that runs on a client system. Those are two different computers. If the servlet uses a JFileChooser, it will display the GUI on the server and allow somebody to choose a file on the server. More likely, there will be nobody looking at the server.
    If you want to choose a file on the client, there are ways to do that using HTML. But the only reason to do that would be to upload a file, not to "open" or "save" it, whatever those might mean.
    You might want to learn about signing applets, which is the standard way to deal with those access violations.

  • Cool and eye-candy GUIs

    AIR is a great platform for any web-oriented (and not only)
    task and it's clearly in some way derived by Flash.
    Flash made us get used to nice looking GUIs where we didn't
    expect, and it could be great if we could bring this know-how on
    AIR. There are apps, like Klok (
    http://klok.mcgraphix.com/klok/index.htm)
    having a great interface, with liquid and tweening components. So I
    was asking myself how did the developer of this app achieved that.
    Maybe is he using some commercial components? And what about the
    "rewritten" systemChrome? Are they PNGs crafted and embedded or are
    there strategies to make our apps so nice-looking?
    Thank you.

    Hi Marco,
    There are a lot of cool looking flex components and themes
    out there.
    http://scalenine.com/ is an
    invaluable resource for great looking themes.
    For flex components, check out:
    Flex exchange -
    http://www.adobe.com/cfusion/exchange/index.cfm?event=productHome&exc=15&loc=en_us
    http://www.fxcomponents.com/
    http://actionscript3libraries.riaforge.org/

  • JFileChooser problem opening just java files

    Hi everyone, trying to write simple text ed. that will only open java files (part of JFileChooser). Yes have looked at API but so stupid that i couldnt get it to work can anyone help?
    public void openFile() {
              BufferedReader in = null;
              try {
                   JFileChooser chooser = new JFileChooser();
                   //---Open Java Files only---
                   if (chooser.showOpenDialog(null)
                   == JFileChooser.APPROVE_OPTION) {
                   File selectedFile = chooser.getSelectedFile();          
                   in = new BufferedReader
                             (new FileReader(selectedFile));
         catch(FileNotFoundException e) {
              JOptionPane.showMessageDialog
                   (null, "Bad Filename. Try Again");
         catch(IOException e) {
              JOptionPane.showMessageDialog
                   (null, "Corrupted File. Try Again");
         finally {
              if (in != null)
                   try {
                        StringBuffer buffer = new StringBuffer();
                        String text = new String();
                        text_chat.setText(text + "\n\n");
                        while((text=in.readLine())!=null)
                             buffer.append(text+ "\n");
                        text_chat.setText(buffer.toString());
                   catch(IOException e) {
                        JOptionPane.showMessageDialog
                             (null, "Error closing File.");
    }

    Can you tell me how did you solve the problem? Right now I am encounter ing the same problem. The java files on JFileChooser did not show up!

  • JFileChooser refresh question

    We all know that the JFileChooser is incredibly sloooooooow in sdk1.4 (especially across networks.)
    Maybe someone can help me with this (sort of) workaround:
    I selected a directory in the file chooser. It takes 10 mins to come back. During that time, I'd like my mouse pointer to change to the WAIT state. I can do that part, but the file chooser gives me back control before its done & my cursor goes back to the DEFAULT state.
    Does anyone know how to find out when the file choose is really done?

    Hi all,
    thanks for your answers I just realized that I did not expalin myself clearly:
    I know about the rescanCurrentDirectory method BUT I do not know how to link it in the JFileChooser diaolog interface.
    The only way I figured out is to create an accessory button an add it to JFileChooser (setAccessory) BUT it looks ugly .....
    Any idea ????

  • Can't Get a GUI Running

    Hey guys,
    Alright, this is roughly what I have going on.
    I have quite a few methods, mostly all of which have to do with reading input from an Xbox controller, writing information to a serial controller, reading information from the serial controller, etc, etc.
    What I want is to display certain information in a simple-looking GUI. What I have right now is a load of System.out.println's which looks quite ugly.
    (Think of the GUI as something simple that displays what buttons are pressed, etc...)
    The thing is, I can't get the GUI to function in my program. I mean, I can get a simple GUI window open in a separate .java file, but when I try to take the code and put it into the .java file with the rest of my program, bad things happen. (It's a bit hard to explain, but because some of my methods have never-ending while loops (listening for controller input), the methods that open the GUI window and continually update the variables are never executed.)
    I hope someone can just point me in the right direction or something.
    Thanks.
    Edited by: Ralph23 on Jun 6, 2009 8:29 PM
    Edited by: Ralph23 on Jun 6, 2009 8:29 PM

    Looks to me like this would be the right direction:
    [Swing Concurrency Tutorial|http://java.sun.com/docs/books/tutorial/uiswing/concurrency/]

  • [Customizing/Making indicators] GUI, wishes and dreams, but can it be made?

    Hi,
    I'm not completely new to LabVIEW, I already have basic programming
    skill with it (more extended knowledge of C/C++/Pascal and so on) and
    untill now I was able to reach my targets depending functionality.
    However for a job I got offered I intend to use LabVIEW more as a
    interface to the user, so I have to create a nice and fancy looking
    GUI. Things that I need are more or less like the standard indicators
    only altered to suit our graphical demands.
    Because I'm completely not familiar with modifying the looks of the
    controls and indicators to a higher level than standard offered by ie.
    the property nodes, I started to read the manual. Although reading that
    didn't give me all the information needed (or at least not clear) on
    how I and where I should start such an attempt. Just by trial and error
    I managed to get some better looks on some indicators but some things I
    couldn't get the way I need it.
    I Hope I can make myself clear in what I need and what I want, if I'm
    if not really clear in the way I answer or the way I wrote this thread,
    please say so, because English is a foreign language to me.
    List of goals:
    1.) Upsidedown 'meter' indicator:
    Special:
    * Scale - Left side from let's say 90 to 0, right side inverse, but positive, so 0 to 90 (fixed range)
    * Needle - Arrow as needle or something like that, prefered scalable
    2.) Rotating scale 'meter' indicator:
    Special:
    * Scale - Left and right like the upsidedown type (90 to 0 to 90), also "common zero" (no negative values)
    * Needle - Fixed in the middle of the display (possibly only a 'thick' vertical line) (fixed)
    3.) Shifting scale 'bar' indicator (rotating dial in English?, only seen from the side):
    Special:
    * Don't know how to do this, number of problems will probably arise
    * Scale - From 0 to 360, turning from left to right and the other way
    around, always displaying +/- 15 of the scale relative to the actual
    value
    * Needle - Prefered a 'see-through' type or 2 vertical lines with some space between
    4.) Needle: 'Gauges' with larger arrow:
    * Scale - North/East/South/West in stead of 0-360 degrees, but using 360 steps from North to North passing South
    The added pictures are from our previous solution, but externally made
    by a software engineer, we want something we can make and support.
    For all graphics to be made it's a pre to be able to alter colors and
    that the indicators scale with the resolution of the display (with the
    least amount of artefacts possible)
    Talking about realizing above things, is it possible to create
    indicators from scratch or should I better just change the standard
    indicators from the library? In both situations can you please provide
    me with some information on which menu's to use or a quick walkthrough,
    if possible.
    Hope some of you can make this project a succes,
    Kim

    Great! Got almost everything more or less the way I want it, only producing the heading 'bar' is very difficult for me .
    The approach like 'test' by using a XY Graph gives the best result
    untill now, one thing that I noticed is it certainly costs some
    processing time and you can see that the cursors shitft to the left one
    by one (however this isn't a great problem, because the display doesn't
    need to move really fast). What I'm also missing (and I don't even get
    close fixing it using the XY graph) is some vertical lines that
    indicate every '1' by a small one and every '5' by a larger line, is it
    easy to produce, or does it result in a very high CPU-usage? I May
    sound a bit stupid but when I want to connect a control, I'm not sure
    where to place it.
    'unclebump'-s  Idea should work better at least that's what I
    derive from the reactions, only it's always jumping 5 positions at a
    time, it should be a smooth horizontal moving bar, but with markers at
    every 5 points. Also same as above, never worked with a picture
    control, for me it's difficult to understand the chosen numbers and
    actions with comments.
    Speaking of the "rate of turn" indicator, it needs to be working both
    ways from .... to 0 to .... (check demo/example below), and only 1/5 or
    so be visible...
    And just to prevent too much work, it's not a prerequested fact that
    the graphics must be pictures, I'm very pleased with the results
    already (also perfectly scalable) by only altering the standard
    controls to a color standard and needle stuff and so on.
    Possibly a demo will provide more info on what I want ? Check it out: http://www.kimjansen.nl/conning/nav442-3.swf

  • Calendar gui for text string

    I want to create a pop-up calendar looking gui that will show when the user clicks on the text field.
    example) user will click on text field below
    Time:_______________
    ...and something like this will pop-up:
    < day >
    < month >
    < year >
    ...and they can push the arrow buttons to move left and right the corresponding day, month, year.
    My question is if anyone knows anywhere I can find examples of something like this. I have never done anything of this sort before and don't know where to begin!

    I do a lot of looking for components that I can use in any applications I am building. I don't often post on the forum, but your questions seemed to be one that I could help you out with.

  • Adding a button in Application toolbar of Transaction IW32

    Hi ,
    I need to add a button in the Application Toolbar of standard transaction IW32,I tried copying the pf-status and adding it in the user exit exit_saplocih_006 also,but its not working.
    Please Kindly help.
    Regards,
    Ismail.

    I think you must create a copy of IW32 ( I am not wrong in SAP lingo they say repair) for example ZIW32. And add a button relevant gui status. (I have been looking Gui status of IW32 it is have more status. you must find true status)
    If you want change original source don't forget this a patch can change your code.

  • How do you create stacked plots?

    Okay, I have tried for quite some time today to create a stacked plot, but without any success.  I want to be able to put in a max and min range for the x-axis on the front panel.  This x-axis will be used for three different y-axis.  Each y-axis will have a different scale than the other ones.  Also, each y-axis will have up to 6 different plots.  I have attached an example of what I hope the final chart/graph/plot will look like.  I have tried combining the x-axis values with the different y-axis values in an array (2D) and then plotting them but nothing seems to work right.
    Attachments:
    C-1650 - 4610 Q-SERIES pressure.pdf ‏24 KB

    Never had much success getting what I consider "publication quality" graphs out of LV, but that is not what it was built for.  It has a great looking GUI and the flexibility to get your data into a program to suit your needs.  Doesn't mean that there aren't some features we'd like to see added, especially when it comes to axes and labelling.  My advice to you is the following:
    1. take a deep breath and decide if this is something you really want to do.
    2.  perhaps try an in-between solution like stripping down the plots and stacking three XY graphs on top of each other.  You can programatically control the scales.  You won't have overlap of the plots like you show, and all of the labels will be on the left.
    3.  Try a standard XY graph and fudge the labels using Ben's very elegant trick. Ben is the go-to-guy (IMO) for picture control questions
    4.  Explore the Picture VIs to generate plots piece-by-piece.  You are in for a lot of work, but it is the only LV-only solution I know to get the results you are looking for.  (Perhaps there are new and exciting features in LV2009 that someone will enlighten us with).
    5.  Do what I do.  I use a MathLink connection to Mathematica when I need plots that I can't get easily in LV.  You can retrieve the graphics object and display it in a container or a picture control.  I use a picture control because the container seems to unload the image when I stop the VI.  If you don't have Mathematica, or similar program, sorry.
    Message Edited by Darin.K on 08-17-2009 07:41 PM

Maybe you are looking for

  • "Classic ReTweet Button For Mozilla Firefox" is not working on Twitter. Anybody else having this problem?

    I have written extensively about this "Classic Retweet Button For Mozilla Firefox" and have it installed on all my computers and laptops. It does not seem to be working. Did Twitter disable this sometime over the weekend and this is another of their

  • Workflow status is in waiting

    Hi, We have created a Shopping Cart and the approval Workflow triggered successfully, but it is in waiting status. can any one tell me how to process that. regards, Ravi G

  • Fusion Middleware Concepts / Presentation

    Hi, I am new to FMW . Can i get link to below documents 1) Concepts and significance of FMW 2) How FMW can integrate the custom application with EBS ? 3) any simple presentation ?

  • Send error from Java to Flex

    I need to throw errors from Java and to receive them in Flex. My idea is using xml with error id and message, and maybe the Flex component which should show the error. Is there any other way to do it? Another interaction between Java and Flex? Thanks

  • Error in URL (host name coming twice)

    Hi All,   I am facing a error while running any query in browser (Web Analyzer), in the URL that the system is generating the host name (sapdevqas) is coming twice due to which the page is not getting displayed, for now I have to delete it manually t