We found a bug in using the .bshrc file. We use this file to set up our Java imports when we run the Beanshell Desktop console - this way we don't have to always retype all the imports.
We have an import that includes classes with names like "TextField", "Button", etc. The problem is that BeanShell seems to override these imports from the .bshrc with java.awt classes of the same name. So we end up with class cast exceptions. If we manually type the import on the BeanShell prompt everything begins to work. But again the purpose of using the .bshrc is to avoid this manual typing.
Is there any workaround to this? Or a way to preload the BeanShell environment besides using the .bshrc file?
Any help is greatly appreciated...thanks,