Change guide icon
Mostra commenti meno recenti
Hi all
function deneme_deneme_OpeningFcn(hObject, eventdata, handles, varargin)
jFrame=get(handles.figure1,'javaframe');
jicon=javax.swing.ImageIcon('icon.gif');
jFrame.setFigureIcon(jicon);
handles.output = hObject;
guidata(hObject, handles);
-------------------------------------------------------------
showed icon.but I get an error command window.
-------------------------------------------------------------
Warning: figure JavaFrame property will be obsoleted in a future release. For more
information see the JavaFrame resource on the MathWorks Web site.
>
In deneme_deneme>deneme_deneme_OpeningFcn at 19
In gui_mainfcn at 221
In deneme_deneme at 15
In guidefunc>layoutActivate at 1140
In guidefunc at 14
--------------------------------------------------------------------
what is this ? but study, all the normal. (icon appears)
---------------------------------------------------------------------
Risposta accettata
Più risposte (3)
I'm still getting the warning after using
1 Commento
Walter Roberson
il 7 Feb 2019
Mathworks has not completely eliminated the JavaFrame property so it continues to warn. At some point, instead of warning it will just fail.
You are not intended to get the java frame yourself.
Allan III T. Condiman
il 22 Gen 2020
Modificato: Allan III T. Condiman
il 22 Gen 2020
0 voti
for me it's okay there's no getting error.
Categorie
Scopri di più su Spline Postprocessing in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!