How to set the icon in core java app... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to set the icon in core java app...

I had created one app, but unable to set the frame icon and the icon for Taskbar and system tray too. Please post a complete code for this not only the command that can do this because I had already tried many concepts but unable to get, please help me with this.

25th Nov 2016, 2:39 PM
Prashant Jain
Prashant Jain - avatar
4 Answers
+ 2
@Nguyen Hoang long, it's not a android app It's a Java stand alone app means a jar file
25th Nov 2016, 2:56 PM
Prashant Jain
Prashant Jain - avatar
+ 2
there are tools too available to set but you can right like it and in properties set it to .ico file there are tools to draw .ico icons for windows just like it's paint app draw
25th Nov 2016, 5:31 PM
Sandeep Chatterjee
+ 1
open androidmanifest and find: <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > you find android:icon="@drawable/ic_launcher" then you go to res/drawable and change the icon
25th Nov 2016, 2:54 PM
Nguyễn Hoàng Long
Nguyễn Hoàng Long - avatar
0
@sandeep which tool??? And for setting Taskbar icon also please let me know the tool
25th Nov 2016, 5:33 PM
Prashant Jain
Prashant Jain - avatar