Import standard packages. Currently: importClass("bsh.EvalError"); importClass("bsh.Interpreter"); importPackage("javax.swing.event"); importPackage("javax.swing"); importPackage("java.awt.event"); importPackage("java.awt"); importPackage("java.net"); importPackage("
()
| 1338 | </pre> |
| 1339 | */ |
| 1340 | public void loadDefaultImports() |
| 1341 | { |
| 1342 | /** |
| 1343 | Note: the resolver looks through these in reverse order, per |
| 1344 | precedence rules... so for max efficiency put the most common |
| 1345 | ones later. |
| 1346 | */ |
| 1347 | importClass("bsh.EvalError"); |
| 1348 | importClass("bsh.Interpreter"); |
| 1349 | importPackage("javax.swing.event"); |
| 1350 | importPackage("javax.swing"); |
| 1351 | importPackage("java.awt.event"); |
| 1352 | importPackage("java.awt"); |
| 1353 | importPackage("java.net"); |
| 1354 | importPackage("java.util"); |
| 1355 | importPackage("java.io"); |
| 1356 | importPackage("java.lang"); |
| 1357 | importCommands("/bsh/commands"); |
| 1358 | } |
| 1359 | |
| 1360 | /** |
| 1361 | This is the factory for Name objects which resolve names within |
no test coverage detected