Resources, dialog messages

1 view
Skip to first unread message

trongdinh

unread,
Dec 6, 2007, 11:07:41 PM12/6/07
to jsystemtrader-dev
I have a few recommendations to make for changes in the existing code:

1. use getClass().getClassLoader().getResource wherever possible
because this is the only standard way to get a resource on Java Web
Start

2. use getResourceAsStream wherever possible because this way
resources can be located in jars or whenever else, not just in normal
files.

3. a switch to have the MessageDialog funtions just log the messages
silently.
Reply all
Reply to author
Forward
0 new messages