Glass pane widget for drawing on top of other widgets? 
Posted: 10 August 2010 01:31 PM   [ Ignore ]
Rank
Joined  2010-03-05
Total Posts:  24
New Member

I’m looking to create an annotation tool for my current MT4j application, where the user can annotate on top of existing GUI components. I am assuming I’ll be able to do a glasspane type idea. Throw an MTRectangle on top of my existing GUI and set setNoFill() and setNoStroke() to false. Is this the right idea?

Profile
 
 
Posted: 14 August 2010 12:01 PM   [ Ignore ]   [ # 1 ]
Avatar
RankRankRankRank
Joined  2008-04-30
Total Posts:  612
Elite

Depends what your glasspane has to do exactly. But yes, generally you would put an MTRectangle ontop and setPickable(false) so the gui still gets the input.

 Signature 

MT4j - Multi-Touch for Java!

Profile