• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runme.jar

 
Anna Hays
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am wondering, do we have to put the properties file and other parts other than the code in the runme.jar?? I have put the properties file and images folder in it and it couldn't read the properties file and the images. But if I put it outside of the jar at the same level, it is OK. Is it right to put it outside for the jar???
Thank you!
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anna,
Why do you need a pre-existing properties file? Couldn't your app just create it with default values in case it doesn't exist yet? I think it's the simplest and safest way to handle that issue.
Regards,
Phil.
 
Anna Hays
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh that's right! Thanks.
But what about the images? Or does anyone use images at all?
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anna,
Yes, I used icons for the buttons in my main window's button bar, and for the buttons in my online help screen.
So all those icons (with their appropriate copyright notices) were in my submitted client.jar file (I had the old assignment - my executable client.jar file would be very similar to your runme.jar file).
Regards, Andrew
 
Stephen Tracey
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Andrew,

I have a question regarding your phrase "with their appropriate copyright notices". Is it sufficient for me to put a copyright notice in my app's "About" dialog? Or are you implying that I need to have a (e.g.) "copyright.txt" file in the same directory as Sun's icons? This would be one lousy reason to fail.

Thanks!
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Stephen

The instructions on the site where you download the icons require you to have the copyright file in the same directory as the icons.

Regards, Andrew
 
Stephen Tracey
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!
 
Filipe Fedalto
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

What is this about?


The instructions on the site where you download the icons require you to have the copyright file in the same directory as the icons.


Is there a Sun site from which to download SCJD's GUI images???
Where is it? What is the URL? Is there a reference to it? Not in my assignment... where did you heard of it?

And the most important: Do the choice of using/not using images have an influence on the overall GUI Design evaluation?

Thank you all in advance,

Filipe Fedalto - Brasil
www.cafejavanes.com.br
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Filipe,

Welcome to JavaRanch and this forum.

My comment was a general one - if you choose to use icons in your application which are not included in the Sun JDK, then you must check the licensing requirements from that site, and you must comply with them.


Is there a Sun site from which to download SCJD's GUI images???
Where is it? What is the URL? Is there a reference to it? Not in my assignment... where did you heard of it?


There are no SCJD GUI images.

I did use some of the icons from Sun's Java look and feel Graphics Repository, in particular the navigation icons in my online help viewer.

However that was my particular choice - you don't have to do this.

(And, as previously mentioned, these have specific licensing requirements (as most graphics does), and I ensured that I complied with those requirements).


And the most important: Do the choice of using/not using images have an influence on the overall GUI Design evaluation?


Not directly.

If you look at the JavaRanch SCJD FAQ, you will see a breakdown of the points available as per the old assignment. You will see that there are points available for "Ease of use", and for "Good Human/Computer Interaction".

As long as the application you design is easy to use and follows "standard" GUI conventions (menus, toolbars, tooltips, etc.) then you will have no problems with or without special icons.

Of course that also means that if you have toolbars and don't have a standard icon, you might want to find other icons - this is the situation I found myself in with the online help. Hence my choice to include those graphics.

You might want to look at the old topic "Cert nightmare" where there is a big discussion on what the examiners are looking for (started because a candidate failed).

Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic