The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Problem with TreeView(uitree) and UIContextMenu
Replies: 6   Last Post: Feb 6, 2013 9:46 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Dennis B.

Posts: 14
Registered: 11/17/11
Problem with TreeView(uitree) and UIContextMenu
Posted: Jan 30, 2013 9:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello Community,

I have a small Problem setting up a my uiContextmenu for my TreeView(uitree):


%Get Tree
JavaTree_ja = hMainDlgTree_ja.getTree;

%Create Context Menu
hContextMenu = uicontextmenu('Tag','cmnu_TreeContextMenu');



Because of using set-Function i get the Warning "MATLAB:hg:PossibleDeprecatedJavaSetHGProperty" (or "MATLAB:hg:JavaSetHGProperty" before Matlab 2012b).
But setappdata seems not working for this property. The contextmenu does not popup.

Also i found no java-property for access JavaTree_ja directly.

Anyone an idea to do this without warnings?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.