Re: Re: JPanel used for graphics

Frank Meissner <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
[email protected] wrote:
>> In your code, you write simple
>> swix.getTaglib().registerTag( "diagram", Diagram.class );
> 
> 
> If it is this simple, it's the most compelling argument against
> my proposal.  However, there seems to be something that I'm missing
> because I get the following.  Maybe the id= or contraints= attributes?
>    [java] SwixML 1.1 (#139)
>    [java] java.lang.IllegalAccessException:
>           Class org.swixml.DefaultFactory can not access a member
>           of class com.fredswartz.skeema.Diagram with modifiers ""
>    [java]     at sun.reflect.Reflection.ensureMemberAccess
>          (Reflection.java:57)
>    . . .

Hm, sounds you have some protected or private methods there, have you? 
You may send the Diagram class to me, and I try what I can to find a 
solution. It surely should be that simple. If it is not, there must be a 
reason.

Regarding your offtopic-subject: There is always the tradeoff between 
flexibility and performance. The changes you suggest improve neither. 
Please do'nt be offended, though...

Yours,

Frank
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.