When calling setMarkupMode(true), it works as I would expect (i.e. opening the markups related GUI items).
When calling setMarkupMode(false), it does not work as documented in the InstallConfigGuideCS.pdf which says that it will "exit Markup mode". Instead, it stays in markup mode and creates a new empty markup.
Thanks for the quick response. However, I would point out that I am not using the VueBean class/object directly. As the subject states, I am using the Oracle supplied JVue Applet and its scripting method. However, you have given me an idea for a workaround which I willl post if successful. (But if anyone else has other information I would be happy to hear it.)
Jeff's suggestion lead to a successful workaround though I still believe the applet method setMarkupMode() to be buggy.
Since the applet exposes the underlying VueBean, I can use it as Jeff suggests:
applet.getActiveVueBean().setMarkupModeEnabled(true | false);
p.s. Though this does work as documented, I would warn that using the (false) option destroys currently loaded markups. To me, I was expecting (and wanting) to merely toggle the display of the markup GUI elements without destroying information. I am assuming there is a way to do this but I am pretty new to the overall API so will have to search for that as well.