Thread: Client icon

Results 1 to 4 of 4
  1. #1 Client icon 
    Registered Member WyrmrushDev's Avatar
    Join Date
    Dec 2021
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    How do I add an icon to my client? I am using a base and client from: Project51 / Ascend / Ethos. I tried to see the forums and the codes did not work, some code for Project51
    Reply With Quote  
     

  2. #2  
    🖤Runic Developer🖤
    Castiel's Avatar
    Join Date
    Apr 2013
    Posts
    1,752
    Thanks given
    564
    Thanks received
    288
    Rep Power
    609
    Quote Originally Posted by WyrmrushDev View Post
    How do I add an icon to my client? I am using a base and client from: Project51 / Ascend / Ethos. I tried to see the forums and the codes did not work, some code for Project51
    no caps please
    Attached image
    Attached image
    Reply With Quote  
     

  3. #3  


    Monk's Avatar
    Join Date
    Jan 2016
    Posts
    335
    Thanks given
    485
    Thanks received
    191
    Rep Power
    567
    I wish I could help you but the text is too small to read..
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Aug 2021
    Posts
    23
    Thanks given
    7
    Thanks received
    5
    Rep Power
    0
    Add this to your ClientWindow class in the initUI method:
    Code:
    URL url = new URL("https://gyazo.com/fe563daf451a47057beba8372df046eb.png");
    URLConnection conn = url.openConnection();
    InputStream imgStream295x295 = conn.getInputStream();
    icon = ImageIO.read(imgStream295x295);
    frame.setIconImage(icon);
    Upload the icon you'd want and replace the link with it and you're set.
    Hope this helps.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 6
    Last Post: 11-02-2011, 12:19 AM
  2. Client Icons? [PI 317]
    By CommunityX in forum Help
    Replies: 2
    Last Post: 04-01-2011, 03:28 PM
  3. Client Icon in task bar when running.
    By Warlock 999 in forum Snippets
    Replies: 21
    Last Post: 09-15-2009, 05:34 PM
  4. bluurs client icon
    By dagron12 in forum Help
    Replies: 3
    Last Post: 02-23-2009, 03:22 PM
  5. Bluurs client icon changing
    By dagron12 in forum Help
    Replies: 1
    Last Post: 02-22-2009, 09:40 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •