|
|
Knowing a tree file system explorer component?
Hello,
Do you know a component providing a tree view of the filesytem? (like
the left part of windows explorer but also showing the files)
I plane to use it in a commercial product, so it must be a LGPL or
commercial component...
I wrote a basic version of this component. I used a JTree and get the
data from a JFileChooser. It works but slowly. And there's many
features not implemented... I'm not particulary interested in
optimizing it, that why i'm asking for a redistributable component...
Thank You
regards,
Vincent
|
|
0
|
|
|
|
Reply
|
vclassine
|
8/19/2003 7:42:25 AM |
|
Vincent wrote:
> Hello,
>
> Do you know a component providing a tree view of the filesytem? (like
> the left part of windows explorer but also showing the files)
>
> I plane to use it in a commercial product, so it must be a LGPL or
> commercial component...
>
> I wrote a basic version of this component. I used a JTree and get the
> data from a JFileChooser. It works but slowly. And there's many
> features not implemented... I'm not particulary interested in
> optimizing it, that why i'm asking for a redistributable component...
Why did you get the files through JFileChooser?
Making a TreeModel using information from
File.listFiles() is quite easy.
|
|
0
|
|
|
|
Reply
|
Jacob
|
8/19/2003 9:30:33 AM
|
|
We started with some code from this Swing book (that I purchased
recently): http://www.manning.com/sbe/
http://manning.com/sbe/files/uts2/Chapter17html/Chapter17.htm
The source code for the examples are at:
http://manning.com/sbe/files/uts2/swing.zip
We just added some logic for lazy loading of the file structure and
refreshing the file list based on the timestamp of the directory nodes.
Jacob wrote:
> Vincent wrote:
>
>> Hello,
>>
>> Do you know a component providing a tree view of the filesytem? (like
>> the left part of windows explorer but also showing the files)
>>
>> I plane to use it in a commercial product, so it must be a LGPL or
>> commercial component...
>>
>> I wrote a basic version of this component. I used a JTree and get the
>> data from a JFileChooser. It works but slowly. And there's many
>> features not implemented... I'm not particulary interested in
>> optimizing it, that why i'm asking for a redistributable component...
>
>
> Why did you get the files through JFileChooser?
> Making a TreeModel using information from
> File.listFiles() is quite easy.
>
>
>
|
|
0
|
|
|
|
Reply
|
Rob
|
8/21/2003 3:50:55 PM
|
|
Jacob <jacob@yahoo.com> wrote in message news:<3F41EE39.8020809@yahoo.com>...
> Vincent wrote:
> Why did you get the files through JFileChooser?
> Making a TreeModel using information from
> File.listFiles() is quite easy.
To get the display icon & the display name associateed with each files...
|
|
0
|
|
|
|
Reply
|
vclassine
|
8/25/2003 7:10:05 AM
|
|
Rob Ratcliff <rratcliff@ticom-geo.com> wrote in message news:<zT51b.884$nA5.171449@dca1-nnrp1.news.algx.net>...
> We started with some code from this Swing book (that I purchased
> recently): http://www.manning.com/sbe/
>
> http://manning.com/sbe/files/uts2/Chapter17html/Chapter17.htm
>
> The source code for the examples are at:
> http://manning.com/sbe/files/uts2/swing.zip
thanks for this link. For me it's to different from a system explorer,
but I will merge it with my version to get some interesting ideas...
> We just added some logic for lazy loading of the file structure and
> refreshing the file list based on the timestamp of the directory nodes.
that's a good idea, I will do it...
I wonder if you know how to set the tree to have a simple clig drag.
In fact with the default settings you have to click once to select the
node and to click a second time and move to drag the node. If you just
click and move to drag a non selected node it just select it. Do you
know how to change it?
Thanks again.
Goodbye
|
|
0
|
|
|
|
Reply
|
vclassine
|
8/26/2003 12:05:33 PM
|
|
Hunt on the Sun web site for JTreeTable. The sample program supplied
with the source does something that might be what you're looking for.
It has models, the lot.
Steve
|
|
0
|
|
|
|
Reply
|
steve
|
8/26/2003 3:26:12 PM
|
|
|
5 Replies
172 Views
(page loaded in 0.526 seconds)
Similiar Articles: IE can't display Sun ftp files and directories - comp.unix.solaris ...... with jailed guest users, Internet Explorer does not properly display file ... ... Does anyone know a way around this problem ... .CPR reovery on a corrupt system - comp.unix ... comp.lang.java.gui - page 98For instance if I wanted to know how a paint method of a certain Swing component (say ... right, much like the Windows (File) Explorer. Whenever the user clicks on a tree ... getting user file ownership and permissions right after a disk ...... but I gather that only fixes known Apple components ... If any OS is in need of a better file system it ... ... Files & Folder... user then you will be knowing the file ... Safari webarchive > pdf? - comp.sys.mac.appsIf no, to convert into a html archive file ... As far as I know the only thing magic about ... convert a Safari webarchive into a PDF file. ... Would a Mac >> Internet Explorer ... API: center of mass calculation of parts in an assembly - comp.cad ...... with respect to the assembly coordinate system to a file. ... this outputs CoM wrt to individual component coordinate system. ... is search an Assembly > Tree or Drawing Tree ... Firefox is already running... - comp.unix.solaris... existing Firefox process, or restart your system." ... in your ~/.mozilla/firefox/.... directory tree for a dead lock file ... IE: Script is causing Internet Explorer to run ... FAQ -- assembly-language/x86/general/part1 - comp.lang.asm.x86 ...Please do not modify the file, such as ... Manual, Volume 3a (part 1): System ... I wouldn't know!) Not a 2-level FAQ, but a TREE. Part Numbering Systems for CAD management. - comp.cad.solidworks ...... live with the system, my first project was to order the raw material, components ... in. Set up SW Tree to display description of the file ... and since they know the system ... ATAPI CD-ROM drive in a SCSI system - comp.periphs.scsiI know it's a lot of typing but could you give a ... Maybe that is a function of the file system used by the ... Frankly, I think you are barking up the wrong tree ... Circular reference? - comp.cad.pro-engineerThe plate components have no links from anything. ... is sequential according to the feature tree in the ... I don't know why it's such a big deal in Pro/e, but it ... File System Tree : Tree « Swing JFC « JavaFile System Tree : Tree « Swing JFC « Java ... A tree with component: 27. A sample component for dragging and dropping a collection of ... How to Create a TreeView File Browser Component in VB.NET | Glass ...... task of creating a tree-style file browser for navigating the file system similar to Windows Explorer. ... simple re-usable File Browser Tree Component ... TreeView does not know ... 7/18/2012 2:49:45 PM
|
|
|
|
|
|
|
|
|