Re: Dynamically load laf
- From: Daniel <daik.no-spam@xxxxxxxxxxxxxxxxx>
- Date: Wed, 30 Nov 2005 00:11:30 GMT
>First off, it's almost always a mistake to write your own class loader.
Yeah, I noticed. I did try to use the URLClassLoader, but I had (I
realize after reading your post) given it invalid URLS, so of course
it did not work... After feeding it good urls it works.
>try to dynamically add a L&F jar to the classpath after the event
>thread has been created, since it will have been loaded by the system
I would do all this before the EDT is created. I.e in the constructor
of my first class.
I have tried the advice you gave me and so far it seems to be working
very nice. I will have to try it a bit more though.
Thank you very much!
regards
Daniel
.
- Follow-Ups:
- Re: Dynamically load laf
- From: Daniel
- Re: Dynamically load laf
- References:
- Dynamically load laf
- From: Daniel
- Dynamically load laf
- Prev by Date: Looking for a UI layout tool
- Next by Date: Re: moving (JTable) columns
- Previous by thread: Re: Dynamically load laf
- Next by thread: Re: Dynamically load laf
- Index(es):
Relevant Pages
|