In my Project I am having JDesktopPane
and Jmenu
, in that menu I am having more internalFrames, I want to set a limit for the user so that the user can only open maximum three JinternalFrames
.
I don't have any idea about how to do this, please help me.