|
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
I wish I could help you but the text is too small to read..
Add this to your ClientWindow class in the initUI method:
Upload the icon you'd want and replace the link with it and you're set.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);
Hope this helps.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |