Jump to content

Donations

  • Help Fund Us

    Currently raised $0.00 of our target $100.00.

Recent Status Updates

View All Updates

[Question] Icon behind title?


Old topic!
Guest, the last post of this topic is over 65 daysand a new post will now be considered as gravedigging, Please turn back now unless you have something to say


34 replies to this topic

#21 Guest_damsch12_*

Guest_damsch12_*
  • Guest

Posted 04 February 2012 - 05:42 PM

Ok, i found a guide for it.
Comment or remove that code, if you did the jframe with the visual editor, then try this.
Open the JFrame properties and click the 3 dots in the iconImage option.

Posted Image
Select the Project option choose the location where your image is, and choose the image from the files textbox, now click OK

Posted Image
Tell me if this works, if it doesnt, then im out of ideas. Try asking in Dream in code or stack overflow communities

#22 Guest_zimon_*

Guest_zimon_*
  • Guest

Posted 04 February 2012 - 07:16 PM

I think it should work, but the problem is I can't find that Tab "Properties" :o

#23 Guest_damsch12_*

Guest_damsch12_*
  • Guest

Posted 04 February 2012 - 11:24 PM

You have to be in Eclipse visual editor, and when you click the frame, those properties should appear.

#24 Guest_zimon_*

Guest_zimon_*
  • Guest

Posted 04 February 2012 - 11:32 PM

View Postdamsch12, on 04 February 2012 - 11:24 PM, said:

You have to be in Eclipse visual editor, and when you click the frame, those properties should appear.

Ok, I managed to find the correct "Properties", but I can't get anything up that look like the one above.

#25 Guest_damsch12_*

Guest_damsch12_*
  • Guest

Posted 04 February 2012 - 11:52 PM

if you click on the Jframe you should have an iconImage property

#26 Guest_zimon_*

Guest_zimon_*
  • Guest

Posted 05 February 2012 - 01:54 AM

Seems like nothing worked. I'll try do this another time, but still, thanks for helping me! :o

#27 Guest_damsch12_*

Guest_damsch12_*
  • Guest

Posted 05 February 2012 - 01:57 AM

ok, no problem :o
If you want you can try asking in a development community maybe someone there uses Eclipse or knows why that code didnt worked for you.

#28 Guest_zimon_*

Guest_zimon_*
  • Guest

Posted 05 February 2012 - 02:15 AM

View Postdamsch12, on 05 February 2012 - 01:57 AM, said:

If you want you can try asking in a development community maybe someone there uses Eclipse or knows why that code didnt worked for you.

If in that case, do you know any good ones? You can PM them to me ^^ +rep

#29 Guest_petersmileyface_*

Guest_petersmileyface_*
  • Guest

Posted 05 February 2012 - 03:16 AM

Like I mentioned in another topic, try dream in code :o Damian will recommend the same thing, especially for Java.

#30 Guest_damsch12_*

Guest_damsch12_*
  • Guest

Posted 05 February 2012 - 11:23 AM

There are a lot of good ones, I liked Dream In Code from all of them, so that is the one i recommend, but you also have stack overflow, bytes tech, dani web, programmers heaven, and more.
In dream in code you also have lots of tutorials, and there is one in particular that might be usefull for what you are attempting to do.
If you want to make it an online game, then you should take a look at this:
http://www.dreaminco...-serve-clients/
Its a tut to create a server and a client for mmorpg games.

#31 Guest_petersmileyface_*

Guest_petersmileyface_*
  • Guest

Posted 05 February 2012 - 11:28 AM

From what I'm hearing/seen I suggest you go to dream in code first if you need help. However, if dream in code doesn't cater for your programming language then I suggest you use stack overflow :o

#32 Guest_zimon_*

Guest_zimon_*
  • Guest

Posted 05 February 2012 - 04:27 PM

Thank you so much :o

#33 Guest_zimon_*

Guest_zimon_*
  • Guest

Posted 12 March 2012 - 07:03 PM

It was easier than I thought lol

Image icon = Toolkit.getDefaultToolkit().getImage("res/icon.png");


#34 Guest_petersmileyface_*

Guest_petersmileyface_*
  • Guest

Posted 12 March 2012 - 08:31 PM

Wow that's handy. I thought the image's file extension had to be .ico.

#35 Guest_damsch12_*

Guest_damsch12_*
  • Guest

Posted 13 March 2012 - 12:53 AM

I think java supports jpg, png, gif and bmp.



Old topic!
Guest, the last post of this topic is over 65 daysand a new post will now be considered as gravedigging, Please turn back now unless you have something to say



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This blog entry has been visited by 11 user(s)

  • Rules
  • Privacy Policy
  • Mark Community Read
  • Help