"ahimsa" <mark.cridge@googlemail.co.uk> wrote in news:4559f8be$0$1392
$da0feed9@news.zen.co.uk:
> Hi all,
>
[quoted text clipped - 21 lines]
>
> TIA!
rtss_std is a badly named class. If it was named according to Java
conventions, perhaps the error would stand out more. A better name would
be:
RtssStd
The capitalization makes it clear that this is the name of a class, while
"sim" is the name of a reference variable of type RtssStd. Then it mmight
be clear that this line:
rtss_std.run_sim() ;
should be more like:
sim.run_sim() ;
Of course, the method run_sim should be runSim or perhaps just "sim" to
comply with the naming conventions too.
Let us know whether this is clear or you need further explanation about
static vs non-static.
Good Luck!

Signature
Ian Shef 805/F6 * These are my personal opinions
Raytheon Company * and not those of my employer.
PO Box 11337 *
Tucson, AZ 85734-1337 *
> Hi all,
>
[quoted text clipped - 21 lines]
>
> TIA!
It just needs the method of RtssStd to be static:
public static type runSim()
{
...
}
where "type" is the type of whatever the method returns.