TreeForm updated to 1.1

After 11 years, I have finally written a new update to TreeForm to address the issues people have been having with incompatibility with newer operating systems. This version of TreeForm is also a LOT easier to run and install. On Windows and Linux machines with Java Installed, you can just click and run the JAR file directly – all the menus and help screens are incorporated directly, and the file runs anywhere. This helps a LOT with university computers where you often are not allowed to install software.

On Macs, I have provided a package that will install the software. It still requires permission through the “security and privacy” tab of “system preferences”, but after that it will run, even on the Mojave operating system. (If anyone knows how to get Apple to let this app install without activating their “gatekeeper” program, please let me know. I really do not enjoy Apple’s war on open-source programs.)

This version also fixes the color chooser bugs that Oracle inadvertently introduced, allowing color choices to be available again. I have also updated the help, about, and what’s new screens. Lastly, I disabled the custom look and feel – TreeForm now obtains the operating system’s look and feel, and so is slightly different on each system.

You can always find TreeForm at SourceForge, and I will soon put the new source on gitHub.

2 thoughts on “TreeForm updated to 1.1

  1. Jiahao Chen

    Dear Dr. Derrick,
    I download the latest jar, but failed to run it on Windows 10. Here’s the error messgae:

    >java -jar TreeForm.jar
    Aug 10, 2019 7:07:25 AM userInterface.Start main
    INFO: Launching the application…
    Exception in thread “main” java.util.MissingResourceException: Can’t find bundle for base name TreeFormBundle, locale en_CA
    at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
    at java.util.ResourceBundle.getBundleImpl(Unknown Source)
    at java.util.ResourceBundle.getBundle(Unknown Source)
    at userInterface.UserFrame.seti18n(
    at userInterface.UserFrame.(
    at userInterface.Start.main(
    Caused by: java.lang.NullPointerException
    at javax.swing.ImageIcon.(Unknown Source)
    at TreeFormBundle.(
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at java.util.ResourceBundle$Control.newBundle(Unknown Source)
    at java.util.ResourceBundle.loadBundle(Unknown Source)
    at java.util.ResourceBundle.findBundle(Unknown Source)
    at java.util.ResourceBundle.findBundle(Unknown Source)
    at java.util.ResourceBundle.findBundle(Unknown Source)
    … 5 more

    It seems like a languageTag/Locale issue.
    Besides possible approaches to fix this issue, I am also hoping that you may publish this project on Github, so that the open-source community may contribute to this project.

    Thank you in advance!

    1. Donald Derrick Post author

      I will have to find a windows machine to test this with. I really don’t know why my language file would encode on mac but not windows, but in theory I should be able to fix this relatively quickly once I am back from my vacation. I expect a fix by Monday or Tuesday.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.