![]() ![]() Unfortunately, Matlab does not contain any documented or supported way to programmatically maximize, minimize or restore a figure window. Moreover, we may sometimes even wish to prevent users from resizing a maximized main window. However, we often need to create maximized main-application windows, and wish to save the users the need to manually maximize the window. Matlab figures can be maximized, minimized and restored by interactively clicking the corresponding icon (or menu item) on the figure window’s frame (the title bar). Today, I show how using JavaFrame we can solve a very frequent user request on the Matlab CSSM forum. Over the past couple of years, I posted several articles using the JavaFrame property of the figure handle, which enables access to the GUI’s underlying Java peer object.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |