On Mon, Mar 30, 2015 at 4:48 AM, Michael T. Pope <mp...@computer.org> wrote:

> On Fri, 27 Mar 2015 22:58:34 -0500
> Caleb Williams <cale...@gmail.com> wrote:
> > I'm not sure where to put that though. Any place I put it in
> > EuropePanel.java I get the following error message:
> >
> > illegal start of type
> > package clientOptions does not exist
> > <identifier> expected
> > illegal start of type
>
> Sorry, in EuropePanel.java clientOptions is not defined, unlike in
> loadClientOptions.  Use getClientOptions() instead in EuropePanel.
>
> Cheers,
> Mike Pope
>

Mike,

After: "public void update() {"

I inserted:
final ClientOptions co = getClientOptions();
if (co.getOption("EuropePanel.w") != null) {
    logger.warning("V = " + co.getInteger("EuropePanel.w"));
} else {
    logger.warning("Missing");
}

I got back "Missing."

Thanks,

-- 
*Caleb R. Williams*
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to