Why my JFileChooser showed as a FileDialog?

Hello!
I'm doing a project to update some existing codes. I made a change to use JFileChooser to replace FileDialog since I can customize JFileChooser. However, after I have replaced FileDialog with JFileChooser in code, it still show as FileDialog when I run it. I'm very sure that I'm using the changed codes since I can see other changes I made in the file. The runtime environment could be a little strange, I heard it may not support Java.Swing. However, I used some other Swing components they all come out fine. It seems that JFileChooser is not supported so it fails back to FileDialog automatically, does anyone know anything about this?
Thank you very much.
Edited by: cutty on Jun 5, 2008 9:50 AM

We can't really diagnose your problem just with what you posted.
cutty wrote:
The runtime environment could be a little strange, I heard it may not support Java.Swing.What environment? Platform, OS version, JVM version.
It seems that JFileChooser is not supported so it fails back to FileDialog automatically, does anyone know anything about this?Write a small test program that simply creates a JFileChooser and displays it, and does nothing else. If it displays a JFileChooser, you'll know there's a bug in your code. If it displays a native file chooser like AWT does, then you may be correct.

Similar Messages

  • Why PSA data show red status when opened but green on PSA page?

    Run RSA1 -> click PSA to open PSA page, locate one infosource and find the PSA under it, find the status column shows it's green, but when opening it, find the 1st column shows red for each row.  How does the inconsitance occur?
    BTW, if we open the infopackage monitor for the above one, find a weird thing is that each request get two consecutive processes running with a circle of red ball and green ball in the left frame.  Double click one of them, in the right frame and click the monitor Status tab, the msg window is as following (in between two dashed lines below):
    Incorrect data records - error requests (total status GREEN)
    Diagnosis
    Data records were recognized as incorrect.
    System response
    The valid records were updated in the data target and can be used in reporting.
    The incorrect records were not written to the data target, but were posted retractively under a new request number in the PSA.
    Procedure
    Check the data in the error requests, correct the errors, and post the error requests.
    Sounds like the data failed to uploaded to data target due to error in PSA, but why the status show green in somewhere?   And if clicking the Details tab, all show green!  Weird!
    Thanks

    Hi Kevin,
    In your InfoPackage Update tab, click the Error Handling button. It seems that the Valid records update, request green option is chosen. This is why you see the green request and some error records.
    This means that the corect reocrds were loaded and are available for reporting, but the incorrect ones were left behind. This is used to check the erro records separatelt so that they do not disrupt the entire data load.
    Hope this helps...

  • Why metadata index shows up when i plug my ipod into the computer in itunes and how to avoid metadata index showing up it will not allow me to eject from itunes

    why metadata index shows up when i plug my ipod into the computer  in itunes and it will not allow me to eject my ipod from itunes

    Hi donfrommars,
    Welcome to the Apple Support Communities!
    Please use the following article for information and instruction on deleting the U2 album from your devices and account.
    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases
    Have a great day,
    Joe

  • Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file bu

    Every time I open a pdf file which includes a javascript, a dialogue box pops up. I have a question why 'Do not show this message again' is not working even I checked on the checkbox. It should block the dialogue next time when I open the same pdf file but not working. What is the matter and how can I deal with it?

    I am trying it on Adobe Acrobat Reader 9.2.1. Tried to fix Hex code, and also tried 'edit-preference-trust manager'. I focusing on Adobe registries but still couldn't fix the problem.

  • Why does firefox show up as a plugin on volume mixer?

    Why does firefox show up as a plugin on volume mixer? After updating a flash plugin into firefox (when it had requested me to update it), it no longer shows up as firefox in volume mixer. It now shows up as some plugin icon. I really don't understand this, and wish it to be the firefox icon again. What is going on and what happened? It names itself "Plugin Container For Firefox" What does that mean? It has been this way ever since, and nothing I have done has fixed this. Restarting, refreshing, reinstalling, clearing cache, etc. Can anyone think of something please? :(
    == This happened ==
    Every time Firefox opened
    == This happened just a couple days ago (june 25, 2010 exactly)

    I have this, but my volume on firefox doesnt work at all

  • Just installed mountain Lion. Viewing a pdf sent to me using preview and some colors are appearing BLACK, however when I view the same PDF in Acrobat they are perfect and what they are suppose to be. WHY would PREVIEW showing a different color?

    Just installed mountain Lion. Viewing a pdf sent to me using preview and some colors are appearing BLACK, however when I view the same PDF in Acrobat they are perfect and what they are suppose to be. WHY would PREVIEW showing a different color?

    Here's what I've found on the issue:
    Pantone color definitions have changed (coinciding with CS6) — they are now "Pantone+" (I think that's what they're called). The "+" apparently means they're now LAB colors. Lab colors are not properly displayed in Preview (or in Finder previews) — they display as black (as far as I can tell, in all circumstances). I'm sure it's a tad more complicated than that, but that's the gist.
    Now the bad news — nobody seems to know anything about a fix or workaround (unless you convert your PDFs to process — this might be a fix for sending to clients). It causes issues for me in AI files — being able to view them in the finder (with previews) is a HUGE time saver for my workflow... when they're all black, not so much.
    In my chat with a director of product dev at Adobe, they placed the responsibility to fix on Apple (assuming Apple wants to support Pantone color definitions in their OS).

  • I have an iPod touch 4th gen. why does it show the wrong album art only on my ipod and not on itunes? Is there any way I can fix it?

    I have an ipod touch 4th gen. why does it show the wrong album artwork on my ipod and it's fine on itunes. why is that and is there any way to fix it? please help!

    I think it can't find the right or any artwork and ends up putting junk in there.
    And can happen with artist and other tags.
    probably fine with commercial media but otherwise....? I think you have to manaully go in and edit
    I also don't like how it handles and stores non-Apple iTunes store content.

  • Why wont it show me my order status on the iPhone 6, 16GB, Gold?

    Why wont it show me my order status on the iPhone 6, 16GB, Gold?
    I ordered it on 9/27/14, and I got the email that said to check the order status, but when I go to the page it said nothing.

    I was in a similar situation.  The phone I ordered was in stock, with supposedly no shipping delay. I ordered on 9/27, but it actually took four extra business days for Verizon to ship my order.
    I called twice and both times the reps couldn't help be determine the status.
    My assumption is Verizon fulfillment is swamped with orders.  They SHOULD have a way of determining real status but they don't.
    I would suggest waiting a few more days, then call the Internet Order group at 800-922-0204 and start complaining.

  • Rejected order why it is showing in V.23 transaction code.

    Hi Expert,
    T.code: V.23  is used to remove the billing block in the sales order.  User is rejected the order but it is still showing in the V.23.
    User question: If the order is rejected why it is showing in V.23 T.code. Is there any T.code where rejected sales order is not showing.
    Can you some one who can help me. Its really good for me.
    Reguards
    Shashi singh
    9371131940.

    Hi Shiva.
    actually  i have this problem with v.23 the sale order is fully reject but still appear in v.23
    V.23
    Regards,

  • My time machine doesnt show up in the finder and ive done the checkboxes in the finder preferences and ive restarted in safeboot. i still cant figure out why it wont show up

    my time machine doesnt show up in the finder and ive done the checkboxes in the finder preferences and ive restarted in safeboot. i still cant figure out why it wont show up

    iOS: Device not recognized in iTunes for Windows

  • Why is EE showing in the status bar after update

    why is EE showing in the status bar after update and is it costing anything to have this on, can i remove it?

    Start with this article: iOS: Wi-Fi settings grayed out or dim - Apple Support
    If the steps here do not work, you probably have a hardware issue and will need to replace the device.

  • Why plan table showing 1 rec

    SQL> CREATE TABLE A (ID NUMBER)
    2 /
    Table created.
    SQL> EXPLAIN PLAN FOR SELECT * FROM A
    2 /
    Explained.
    SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY)
    2 /
    PLAN_TABLE_OUTPUT
    Plan hash value: 1222032187
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 13 | 2 (0)| 00:00:01 |
    | 1 | TABLE ACCESS FULL| A | 1 | 13 | 2 (0)| 00:00:01 |
    Note
    PLAN_TABLE_OUTPUT
    - dynamic sampling used for this statement
    12 rows selected.
    why plan table showing one record when i have no record in table a.
    regards

    This is because you did not analyze the table, and if it was analyzed, it maps a zero to a one. Please not that my test is not in 10g but on 9iR2, where non analyzed tables have null values in their estimated cardinalities.
    SQL> create table a (id number)
      2  /
    Tabel is aangemaakt.
    SQL> explain plan for select * from a
      2  /
    Uitleg is gegeven.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |             |       |       |       |
    |   1 |  TABLE ACCESS FULL   | A           |       |       |       |
    Note: rule based optimization
    9 rijen zijn geselecteerd.
    SQL> exec dbms_lock.sleep(1)
    PL/SQL-procedure is geslaagd.
    SQL> insert into a values (1)
      2  /
    1 rij is aangemaakt.
    SQL> explain plan for select * from a
      2  /
    Uitleg is gegeven.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |             |       |       |       |
    |   1 |  TABLE ACCESS FULL   | A           |       |       |       |
    Note: rule based optimization
    9 rijen zijn geselecteerd.
    SQL> exec dbms_lock.sleep(1)
    PL/SQL-procedure is geslaagd.
    SQL> insert into a select level from dual connect by level <= 9
      2  /
    9 rijen zijn aangemaakt.
    SQL> explain plan for select * from a
      2  /
    Uitleg is gegeven.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT     |             |       |       |       |
    |   1 |  TABLE ACCESS FULL   | A           |       |       |       |
    Note: rule based optimization
    9 rijen zijn geselecteerd.
    SQL> exec dbms_lock.sleep(1)
    PL/SQL-procedure is geslaagd.
    SQL> truncate table a
      2  /
    Tabel is afgekapt.
    SQL> exec dbms_stats.gather_table_stats(user,'A')
    PL/SQL-procedure is geslaagd.
    SQL> explain plan for select * from a
      2  /
    Uitleg is gegeven.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT     |             |     1 |    13 |     3  (34)|
    |   1 |  TABLE ACCESS FULL   | A           |     1 |    13 |     3  (34)|
    7 rijen zijn geselecteerd.
    SQL> exec dbms_lock.sleep(1)
    PL/SQL-procedure is geslaagd.
    SQL> insert into a values (1)
      2  /
    1 rij is aangemaakt.
    SQL> exec dbms_stats.gather_table_stats(user,'A')
    PL/SQL-procedure is geslaagd.
    SQL> explain plan for select * from a
      2  /
    Uitleg is gegeven.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT     |             |     1 |     3 |     3  (34)|
    |   1 |  TABLE ACCESS FULL   | A           |     1 |     3 |     3  (34)|
    7 rijen zijn geselecteerd.
    SQL> exec dbms_lock.sleep(1)
    PL/SQL-procedure is geslaagd.
    SQL> insert into a select level from dual connect by level <= 9
      2  /
    9 rijen zijn aangemaakt.
    SQL> exec dbms_stats.gather_table_stats(user,'A')
    PL/SQL-procedure is geslaagd.
    SQL> explain plan for select * from a
      2  /
    Uitleg is gegeven.
    SQL> select * from table(dbms_xplan.display)
      2  /
    PLAN_TABLE_OUTPUT
    | Id  | Operation            |  Name       | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT     |             |    10 |    30 |     3  (34)|
    |   1 |  TABLE ACCESS FULL   | A           |    10 |    30 |     3  (34)|
    7 rijen zijn geselecteerd.Regards,
    Rob.

  • FB70 why does system show warning message "enter true account assignment" ?

    FB70 why does system show warning message "enter a true account assignment object with revenues" ?
    i enter profit center but i still get warning message "enter a true account assignment object with revenues" 
    what should i do ?
    my  system have CO-PA .

    Dear,
    Please see that the profit center which you are entering in FB70 must have segment.
    still it gives warning message do worry enter it will post the transaction.
    bsrao

  • Why does safari show the last used page when the Ipad is turned on again

    Why does Safari show the last used page when the IPad is next used?

    Read this article:  Open iOS Safari to a blank page, http://www.macworld.com/article/159303/2011/04/ios_safari_blank_page.html

  • Why does it show a (!) when i double click on the play list and it won't play the song?

    why does it show when i double click on the playlist and it won't play the song?

    The exclamation point means iTunes is no longer able to locate the track and the location specified.  See this article for more details.
    iTunes: Finding lost media and downloads
    B-rock

Maybe you are looking for

  • Error when starting weblogic 10.0: BEA-149508

    When starting our weblogic 10.0 server, we get a <BEA-149508> error, indicating JMX cannot talk to the admin server. This is unusual, because immediately before we get this error, we log: <BEA-149511> <Established JMX Connectivity with the Adminstrat

  • K7T Turbo R Limited Edition and crackleing sound

    I started getting a crackling sound recently. I never had that problem before. The only thing I can think of that I have done that may have started it was to update the bios and the via chipset drivers. I tried to reinstall the 442 drivers (only the

  • Customer not extended to sales area

    Hi experts, Even though I have extended a particular customer to the given sales area, division and distribution channel, when I run the program I still get the error saying "Customer not extended to sales area" . What could be the reason for this? I

  • Preliminary Post in Tcode F-28

    Nice day. I would like to know if there is any way to post in a preliminary manner through the transaction F-28.

  • Need help regarding passing values!

    Hi All, I have a page in an application (Multiuser). My Page Region consists of rows selected out of a sql query and with each row selector (radio button). I need the value selected in a forthcoming page. How can i accomplish this effectively. Should