How to name application and give it an icon?
问题 I'm working in eclipse and I have made an application without name and icon. When i start the application it's a really creepy name displaying in the upper left corner (Mac). It's some thing like. I wonder how I can change this to my own name. Second question is how i can change the icon. Can I do that in eclipse? 回答1: If you're using JFrames, you can try setting the icon image as follows. frame.setIconImage(img); Also, by name it sounds a bit like you mean the frame's title. When you create