필터 지우기
필터 지우기

how to change java icon (after convert GUI to exe file) to my project logo

조회 수: 3 (최근 30일)
s sa
s sa 2017년 5월 3일
편집: Yair Altman 2022년 10월 27일
I changed matlab icon to my project logo by javaframe (it's no problem)
%%way used convert matlab icon to my logo
jIcon=javax.swing.ImageIcon('logo.jpg');
jFrame=get(handle(handles.fig), 'javaframe');
jFrame.setFigureIcon(jIcon);
after convert GUI to .exe file , change my project logo to java icon
Please help me .

답변 (2개)

Cleber Gama
Cleber Gama 2019년 7월 11일
I am with this problem too. Did you solve it?

Yair Altman
Yair Altman 2022년 10월 27일
편집: Yair Altman 2022년 10월 27일
The icon image needs to be placed next to the executable when you run the program, otherwise it will not be found and the default Java icon is used. You can easily add this file in the "Files installed for your end users" section, at the bottom of the deploy-tool window, next to where the exe filename is displayed.
(for old Matlab releases with the old build tool, add it to the "shared resource and helper file" section of the Build tab, as shown here)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by