Hi frenz...!!
Could anyone tell me... how to save a file with properties extension
using a JFileChooser??
i.e i want to replace AllFiles option that gets displayed in
JFileChooser save dialog with ".properties" extension.
Andrew Thompson - 16 Mar 2007 07:21 GMT
Sub: Urgenr help required....!!
Hmm.. apparently it is too urgent for you
to check the spelling of your subject line,
yet not too urgent to add four '.' and one
extraneous '!'. You are sending mixed
messages.
> Could anyone tell me... how to save a file with properties extension
> using a JFileChooser??
Well you might do it... oh wait (checks watch)
too late! Sorry.
Andrew T.
steve - 16 Mar 2007 07:41 GMT
> Sub: Urgenr help required....!!
>
[quoted text clipped - 11 lines]
>
> Andrew T.
and obviously too bloody lazy to even use an web browser. Must be another
homework assignment
Michael Rauscher - 16 Mar 2007 08:04 GMT
> Hi frenz...!!
I'm not frenz and I don't know him/her but...
> Could anyone tell me... how to save a file with properties extension
> using a JFileChooser??
Sure: it works in exactly the same way as it works without a JFileChooser.
> i.e i want to replace AllFiles option that gets displayed in
> JFileChooser save dialog with ".properties" extension.
Just do it.[TM]
(but before you should have a look at the API docs - they contain an
example, too)
Bye
Michael
Alex Hunsley - 16 Mar 2007 12:44 GMT
> Hi frenz...!!
Frenz? Who is Frenz?
> Could anyone tell me... how to save a file with properties extension
> using a JFileChooser??
>
> i.e i want to replace AllFiles option that gets displayed in
> JFileChooser save dialog with ".properties" extension.
If you urgently need help:
a) at least write a sensible message
b) pay someone to pay urgent attention to your needs
Joshua Cranmer - 16 Mar 2007 22:52 GMT
> Hi frenz...!!
>
[quoted text clipped - 3 lines]
> i.e i want to replace AllFiles option that gets displayed in
> JFileChooser save dialog with ".properties" extension.
This seems too much of a hint for such blatant violators of courtesy,
but try poking around here:
http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html
Checking the javadoc's for JFileChooser would also help.
If you still can't answer your question through those two methods, then
I'm flummoxed.