ernii wrote:
> Hmm ... has the license in version 6 changed or why is that problem gone?
I was thinking about the upcoming open-sourcing, though I don't really
know how this will affect distribution of modified JDk classes.
> Do you have a link to instructions what I need to do to mess with the
>
Holger Hoffstätte-2 wrote:
>
> This is perfectly possible by exposing the rt.jar to the weaver and add
> the woven classes to the bootclasspath. Adding methods to
> java.lang.String? No problem, works fine. :)
> However it is mostly _impractical_, because of licensing restrictions and
> the nee
Dean Wampler wrote:
>
>
> So, you still won't affect calls from within Swing to itself, but
> hopefully you only really need to advise Swing calls from your own code.
>
>
That's the problem, I want to alter the behavior of the swing components,
but want the user of the library not to worry
Paulo Alexandre Corigo Zenida wrote:
Hello Ernii,
As far as I know, it is not possible for AspectJ to do weaving in JDK
classes. From what you have described, I suppose what you are defining
in your pointcut is something like:
public pointcut myPointcut() :
execution(public void java.awt
Paulo Alexandre Corigo Zenida wrote:
> As far as I know, it is not possible for AspectJ to do weaving in JDK
> classes. From what you have described, I suppose what you are defining
> in your pointcut is something like:
>
> public pointcut myPointcut() :
> execution(public void java.awt.Compon
Hello Ernii,
As far as I know, it is not possible for AspectJ to do weaving in JDK
classes. From what you have described, I suppose what you are defining
in your pointcut is something like:
public pointcut myPointcut() :
execution(public void java.awt.Component+.paint(java.awt.Graphics)
> So I tried to make a pointcut at void
> java.awt.Component.paint(java.awt.Graphics) and that worked only with
> classes within my project that have overriden the paint method
Without knowing any details about your project, this sounds like a
perfect match for AspectJ. The 'target' or 'within
Hello,
I'm new to AOP and trying to understand wether I can do the thinks I want to
do with AOP (especially AspectJ wich seems to be the most complete solution
- and I really like eclipse ;)
I would like to add some general behaviour while painting to all swing
components that I am using in my p