I’m trying to import this into a Matlab project. I’m aware that I would need to refer to com.mathworks.mwswing.checkboxtree and com.mathworks.mwswing.MJTree libraries on Matlab already. I’ve pretty much gone through the docs related to importing Java into Matlab here, including the sub-sections.
However, I still have no idea how I would accomplish what I’m trying to do in Matlab, and having trouble finding examples. How can I find out how to include those specific objects?
Btw, here’s what I got by typing javaclasspath command:
>> javaclasspath
STATIC JAVA PATH
C:\Program Files\MATLAB\R2012a\java\patch
C:\Program Files\MATLAB\R2012a\java\jarext\AnimatedTransitions.jar
...
C:\Program Files\MATLAB\R2012a\java\jar\mwswing.jar
...
DYNAMIC JAVA PATH
<empty>
Have a look at Undocumented Secrets of Matlab-Java Programming.
Also, undocumentedmatlab.com is a great resources provided by the author of the before mentioned book, as @High Performance Mark remarks.