![]() | ![]() |
![]() |
Previous Message |
Next Message Previous in Topic | Next in Topic Previous by Same Author | Next by Same Author Previous Page (May 2002) | Back to Main IMAGEJ Page | | ![]()
Reply
| Post a New Message |
Join or Leave IMAGEJ, or Change Options
|
Search | ![]()
Chronologically |
Most Recent First |
Wrap Text (Proportional Font) |
Don't Wrap Text (Non-proportional Font) | ![]() |
Content-Type: text/plain; charset="us-ascii"; format=flowed Message-ID: <[log in to unmask]> Date: Tue, 7 May 2002 19:56:42 +0200 Reply-To: ImageJ Interest Group <[log in to unmask]> Sender: ImageJ Interest Group <[log in to unmask]> From: Werner Bailer <[log in to unmask]> Subject: Re: Plugins with ImageJ as an applet In-Reply-To: <[log in to unmask]>When running ImageJ as applet, the class loader that loads user plugins will not work as the plugins folder is not in the code base. Add a package statement such as package ij.plugins; to the plugin code and insert the compiled class into ij.jar (be sure to include it into the right folder). To make the plugin appear in the plugins menu add a line like plug-in08="Plugin",ij.plugin.Plugin_ to the plugins section in IJ_Props.txt which is also located in ij.jar. [from ImageJ Plugin Writing Tutorial, v. 1.5] In this case you just have all plugins in the menu on the same level. I don't know a way to create structured menus using IJ_Props entries. Werner At 10:31 07.05.2002 -0400, you wrote: >What is the best method for including plugins when running ImageJ as an >applet? >Is there a way to structure the Plugins menu so that it resembles the Plugins >menu when ImageJ is running in stand alone mode? > > Tony > J. Anthony Parker MD PhD (617) 667-2071 sec > Division of Nuclear Medicine (617) 667-5250 desk > Beth Israel Deaconess (617) 667-2185 fax > 330 Brookline Ave (617) 632-7243 #31978 page > Boston, MA 02215-5491 > [log in to unmask]
![]() |
![]() Center for Information Technology National Institutes of Health Bethesda, Maryland 20892 301 594 6248 (v) 301 496 8294 (TDD) Comments and Assistance Accessibility ![]() |