java - JTree keep expanding problem -


I want to keep my jTree file extended. I am using the code below to expand jTree:

  public zeros extension all (jeti tree) {int row = 0; Whereas (line & lt; tree.getRowCount ()) {tree.expandRow (line); Line ++; }}  

This works, but when I add to a new file or delete the file, how can jTree expand?

To save the status of the extension in your own local variables and you can add Jaitari by adding your own Reset the extension from the local variable.

Check


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -