Table and Tree: show focus border (at scroll pane) even if in editing mode

This commit is contained in:
Karl Tauber
2019-09-13 10:35:36 +02:00
parent 690f12caf4
commit f61782d87f
3 changed files with 19 additions and 1 deletions

View File

@@ -156,6 +156,7 @@ public class FlatComponents2Test
//---- tree1 ----
tree1.setShowsRootHandles(true);
tree1.setEditable(true);
scrollPane3.setViewportView(tree1);
}
add(scrollPane3, "cell 1 3,growx");

View File

@@ -102,6 +102,7 @@ new FormModel {
add( new FormComponent( "javax.swing.JTree" ) {
name: "tree1"
"showsRootHandles": true
"editable": true
} )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 3,growx"