This post has been edited 1 times, last edit by "FrancoAA" (Jul 21st 2010, 4:28am)
Nice. :-)Google Translate:
Greetings everyone, Here I give the user control that I hope you might help. Still missing some features and not fully proven, but little is better than nothing. Regards
Nice. :-)Google Translate:
Greetings everyone, Here I give the user control that I hope you might help. Still missing some features and not fully proven, but little is better than nothing. Regards
I assume you allow it, to intragrate it (or parts of it) in the Jabaco-Framework under the new BSD license. Right?
Currently we have only FileListBox in the SVN. And with your support there comes the DirListBox as addition.
Google Translate:
Here is the new version of control. Is much better but has a bug that appears randomly.
I hope you try and if you know a better alternative make me know. Greetings FrancoAA.
Google Translate:
Here is the new version of control. Is much better but has a bug that appears randomly.
I hope you try and if you know a better alternative make me know. Greetings FrancoAA.
You replaces your first post completly with a other one?
Happyly I have saved your old files before
DirListBox1:
index.php?page=Attachment&attachmentID=221
index.php?page=Attachment&attachmentID=222
I have tested it on Linux. Here a Screenshot:
index.php?page=Attachment&attachmentID=223
And as contradiction here your DirListBox2 again:
index.php?page=Attachment&attachmentID=224
index.php?page=Attachment&attachmentID=225
DirListBox1 and DirListBox2 are completly different.
To DirListBox1:
Nice. The only big current problem is, that it don't work on Un*x systems (Linux, (Open)Solaris, *BSD, MacOSX, ...) correct.
You have written in the code very often "\". The backslash is only used on Windows as seperator. On Unix it is the slash ("/").
Using the system property "file.separator" would help I think.
But currently I have only looked at it, because I haven't time for more.
To DirListBox2:
DirListBox2 makes use of FileChooser components. I have never know before, that it is possible to use some components of the FileChooser outside of it.
I have DirListBox2 currently not tested on Linux, because lack of time.
But the big disadvantage of DirListBox2 is, that the directories are not listed as a nice tree. I can only see the directories in the current browsed directory.
And that "directory" at the beginning, don't exist. There don't existsing on Windows a directory, which includes the directorys "Mis documentos", "Mi PC", "Mis sitios de red" and so on.
So I for myself like DirListBox1 more then DirListBox2.
But DirListBox2 have a nice "details" option, which shows for example the size of files. But that would be a nice enhancement for the FileListBox.
As I said, for DirListBox I would prefere a tree view.
But that is my personal opinion. So it would be nice to hear, what other people thinking of it.
Or would it makle more sense to include both: DirListBox1 and DirListBox2 ?
Then DirListBox1 could be called DirTreeBox. And DirListBox2 could be called DirChooserBox.
What do you think?
I think it's a good idea to rename the controls:
Dirlistbox1 = DirTreebox
Dirlistbox2 = DirChooserBox.
Thats wrong. The other one makes more problems.Quoted
DirTreebox need some changes to run on linux, I would appreciate your help to make it work.
That is wrong, too.Quoted
DirChooserBox is based on JFileChooser control so I do not think any changes need to work in linux.
Jabaco Source |
|
1 |
tlb = Cast(myFileChooser.getComponent(0), JToolBar)
|
Quoted
Here attached the latest revision of DirChooserBox.