/
githubmirror
/
jdk17u-dev
ОбзорДокументацияВойти
/
githubmirror
/
jdk17u-dev
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
jdk17u-dev/
.../jfc/SampleTree/
..
resources

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
DynamicTreeNode.java

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
README.txt

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
SampleData.java

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
SampleTree.java

8211693: Convert C-style array declarations in client demos and jdk.accessibility

8 лет назад
SampleTreeCellRenderer.java

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
SampleTreeModel.java

8187443: Forest Consolidation: Move files to unified layout

9 лет назад
README.txt
SampleTree demonstrates JTree features. Each node of SampleTree has 7
children, with each one drawn in a random font and color. Each node is
named after its font. While the data isn't interesting, the example
illustrates a number of features:
 
- Dynamically loading children (see DynamicTreeNode.java)
- Adding/removing/inserting/reloading (see the following inner
classes in SampleTree.java: AddAction, RemoveAction, InsertAction,
and ReloadAction)
- Creating a custom cell renderer (see SampleTreeCellRenderer.java)
- Subclassing JTreeModel for editing (see SampleTreeModel.java)
 
 
To run the SampleTree demo:
 
java -jar SampleTree.jar
 
These instructions assume that this installation's version of the java
command is in your path. If it isn't, then you should either
specify the complete path to the java command or update your
PATH environment variable as described in the installation
instructions for the Java(TM) SE Development Kit.