I want to open text files with unknown encoding.
I want the user to specify the encoding, so:
In JFileChooser, below combobox with file filters, I want to place a
combobox with textr encoding like utf-8, isoxxxxx etc.
How can I add in JFileChooser an extra combobox?
thanks!
Flo 'Irian' Schaetz - 18 Jul 2007 14:32 GMT
And thus spoke Chameleon...
> In JFileChooser, below combobox with file filters, I want to place a
> combobox with textr encoding like utf-8, isoxxxxx etc.
> How can I add in JFileChooser an extra combobox?
Have a look at <e92jgr$p90$1@online.de>
Flo
Chameleon - 18 Jul 2007 14:40 GMT
O/H Flo 'Irian' Schaetz έγραψε:
> And thus spoke Chameleon...
>
[quoted text clipped - 3 lines]
>
> Have a look at <e92jgr$p90$1@online.de>
what's this?
...an email?
Flo 'Irian' Schaetz - 18 Jul 2007 15:30 GMT
And thus spoke Chameleon...
>> Have a look at <e92jgr$p90$1@online.de>
>
> what's this?
> ...an email?
Message-ID.
Flo
Chameleon - 18 Jul 2007 16:17 GMT
O/H Flo 'Irian' Schaetz έγραψε:
> And thus spoke Chameleon...
>
[quoted text clipped - 5 lines]
>
> Flo
How can I do this with Thunderbird?
PS: I am not a lamer ;-P
Chameleon - 18 Jul 2007 15:27 GMT
O/H Chameleon έγραψε:
> I want to open text files with unknown encoding.
> I want the user to specify the encoding, so:
[quoted text clipped - 4 lines]
>
> thanks!
JFileChooser fc = new JFileChooser(null);
Box enc = Box.createHorizontalBox();
enc.add(new JLabel("Encoding:"));
enc.add(new JComboBox(new String[] {"ISO-11111", "UTF-8"}));
fc.add(enc, BorderLayout.SOUTH);
this code works fine in MSWindows L&F but in Metal L&F when I use this
code, bottom filename textbox, filefilter combobox and buttons, dissapear.
What I can do?