g.drawString("Codebase: " + getCodeBase().toString(), 10, 40); g.drawString("Document base: " + getDocumentBase().toString(), 10, 65);