I'm being an idiot - yes, of course you're right.

I first saw the call to jcd.setSize(...) in AppConsole source and noted it
had default visibility which causes the problem I stated.

My brain then didn't register the protected on externalContainer which
jcdgets assigned to, despite me noting that differing visibility in
the
follow-up email.

Obviously that *can* be changed through inheritance!

Thanks Bob.

David


On 2 February 2013 17:06, Robert Hanson <hans...@stolaf.edu> wrote:

If you extend the class, then protected will work for you.
>
>
> On Sat, Feb 2, 2013 at 7:05 PM, Robert Hanson <hans...@stolaf.edu> wrote:
>
>> Isn't AppConsole() already public? jcd is public as well. I think you are
>> using the 13.0 branch rather than the trunk. As a code developer, you need
>> to use the trunk.
>>
>>
>> On Sat, Feb 2, 2013 at 6:19 PM, N David Brown <hubd...@gmail.com> wrote:
>>
>>>  This problem is caused by the jcd.setSize call in AppConsole.
>>>
>>> I recommend modifying jcd to public visibility. It's not possible to
>>> extend AppConsole in the same package, since this fails compilation
>>> with signing errors due to the same package name in the main project and
>>> the Jmol dependency.
>>>
>>> David
>>>
>>> On 2 February 2013 10:30, N David Brown <hubd...@gmail.com> wrote:
>>>
>>> Is it possible to reduce the minimum size of an AppConsoleinstance?
>>>>
>>>> I have it embedded in a JTabbedPane and it's enforcing a larger
>>>> minimum size of that component than I'd like.
>>>>
>>>> Many thanks for your time.
>>>>
>>>> David
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Everyone hates slow websites. So do we.
>>> Make your web apps faster with AppDynamics
>>> Download AppDynamics Lite for free today:
>>> http://p.sf.net/sfu/appdyn_d2d_jan
>>> _______________________________________________
>>> Jmol-users mailing list
>>> Jmol-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>>
>>
>>
>> --
>> Robert M. Hanson
>> Larson-Anderson Professor of Chemistry
>> Chair, Chemistry Department
>> St. Olaf College
>> Northfield, MN
>> http://www.stolaf.edu/people/hansonr
>>
>>
>> If nature does not answer first what we want,
>> it is better to take what answer we get.
>>
>> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Chemistry Department
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to