{"id":22248891,"url":"https://github.com/parubok/directory-tree","last_synced_at":"2025-07-28T09:37:33.979Z","repository":{"id":49733339,"uuid":"347272841","full_name":"parubok/directory-tree","owner":"parubok","description":"Java Swing JTree model with a hierarchy of filesystem directories.","archived":false,"fork":false,"pushed_at":"2021-06-10T18:22:11.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T10:44:13.625Z","etag":null,"topics":["directory-tree","java","java-swing","jtree","swing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parubok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-13T04:35:00.000Z","updated_at":"2023-11-29T14:43:56.000Z","dependencies_parsed_at":"2022-09-08T11:11:41.353Z","dependency_job_id":null,"html_url":"https://github.com/parubok/directory-tree","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parubok%2Fdirectory-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parubok%2Fdirectory-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parubok%2Fdirectory-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parubok%2Fdirectory-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parubok","download_url":"https://codeload.github.com/parubok/directory-tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245458181,"owners_count":20618693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["directory-tree","java","java-swing","jtree","swing"],"created_at":"2024-12-03T06:19:45.115Z","updated_at":"2025-03-25T11:44:24.358Z","avatar_url":"https://github.com/parubok.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Java CI with Maven](https://github.com/parubok/directory-tree/workflows/Java%20CI%20with%20Maven/badge.svg?branch=master)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/parubok/directory-tree/blob/master/LICENSE)\n\n# directory-tree\n\nThe goal of this project is to provide an efficient and convenient implementation of Java Swing JTree model with\na hierarchy of a local filesystem directories (e.g. for directory chooser component).\n\nNote: Though the model itself does not provide any builtin support for asynchronous operations, it can be built and \nprepopulated (via `DirTreeModel.getTreePath`) on any thread and then passed to the EDT. \n\nExample:\n```java\nimport org.swingk.io.dirtree.DirTreeModel;\nimport org.swingk.io.dirtree.DefaultNodeFactory;\nimport org.swingk.io.dirtree.DirTreeUtils;\n\nimport javax.swing.JTree;\n\nvar model = new DirTreeModel\u003c\u003e(DirTreeUtils.NAME_COMPARATOR, true, true, new DefaultNodeFactory());\nJTree tree = new JTree();\nDirTreeUtils.configureTree(tree, model);\n```\n\nA demo application is provided. See `org.swingk.io.dirtree.demo.Demo`.\n\nThis library is packaged as a Java 9 module `org.swingk.io.dirtree` (with a single dependency on a system module `java.desktop`).\n\nThis project has no external dependencies (except JUnit 5, for testing).\n\nRequires Java 11 or later.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparubok%2Fdirectory-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparubok%2Fdirectory-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparubok%2Fdirectory-tree/lists"}