I have an application uses both a DLL and DefaultStyledText object. I access DLL as native (JNA).
When i try to create a DefaultStyledText or RTFEditorKit object after accessing any dll method, the constructor (DefaultStyledText) raises an error called "c:/j2sdk1_4_2_12/bin/awt.dll is already loaded by another classloader". I need to get raw content of an RTF file and for that i use DefaultStyledText with RTFEditorKit.
How can i solve this problem?
Thanks in advance.