• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to place icons?

 
Andy Jung
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have some icons displayed in my ULRyBird-application (for example a little birdie as window icon, a lock-symbol to mark records as being logically locked in the JTable).
Where should I put them in the jar-file structure? The assignment doesn't mention any place for that.

Kind regards,
Andy
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andy,

Sounds like you are doing a whole lot unrequired stuff and now you have an issue with the unneeded functionality you implemented. People seem to have a hard time just sticking to the requirements and not doing anything extra (I was one of them too )

Maybe put them in a package suncertify.gui.icons?

Kind regards,
Roel
 
Tobias Otto
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Andy

I think the elegant way is to load the images with the clasloader from the same package.
You maybe like to take a lok at http://www.java2s.com/Code/Java/Swing-JFC/Comboboxcombinesabuttonoreditablefieldandadropdownlist.htm

Hope this helps.
Tobias [scjp]
 
Andy Jung
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tobias,

at first a heartly welcome to this forum!

Hmm, interesting, is there a difference using your approach loading images or like I did ? :


Kind regards,
Andy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic