thxs loading solved..another problem:
I do not get any label displayed on the test tree for my visualizer (only a
image..).
I however have implemented the getLabelResource() and it works for the main
panel.
The following warning appears in the logs:
2004/09/20 18:48:37 WARN - jmeter.gui.tree.JMeterTreeNode: Can't get icon
for class [EMAIL PROTECTED] java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.apache.jmeter.gui.tree.JMeterTreeNode.getIcon(JMeterTreeNode.java:99)
at
org.apache.jmeter.gui.tree.JMeterCellRenderer.getTreeCellRendererComponent(J
MeterCellRenderer.java:54)
at
javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(U
nknown Source)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(Unknown
Source)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize
(Unknown Source)
at
javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache.getBounds(Unknown
Source)
at javax.swing.plaf.basic.BasicTreeUI.getPathBounds(Unknown Source)
at javax.swing.JTree.getPathBounds(Unknown Source)
at javax.swing.JTree.getPathForLocation(Unknown Source)
at
org.apache.jmeter.gui.tree.JMeterTreeListener.mousePressed(JMeterTreeListene
r.java:289)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
-----Original Message-----
From: Michael Stover [mailto:[EMAIL PROTECTED]
Sent: Freitag, 17. September 2004 15:38
To: JMeter Developers List
Subject: Re: Extending: Visualizer and Collector
Search_Paths and the classpath have to agree, and since JMeter
constructs it's own classpath internally, it is currently limited to
/lib/ext where extensions will be picked up. That's what the directory
is for.
-Mike
On Fri, 2004-09-17 at 06:54, sebb wrote:
> I'm not sure if the search_paths property is implemented fully. Have
> you tried putting the jar in lib/ext along with the other JMeter jars?
>
>
> On Fri, 17 Sep 2004 11:06:49 +0200, Walther, Benjamin
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > sorry for the crosspost...
> >
> > I am in prozess of exending JMeter:
> >
> > I wrote a custom
> > Visualizer extending from org.apache.jmeter.visualizers.TableVisualizer
and
> > a corresponding
> > Collector extending from org.apache.jmeter.reporters.ResultCollector
> >
> > As far as I know the visualizers get added to the menus via reflection
in
> > teh MenuFactory class. What I did was just adding my jar to the
search_paths
> > property as described in the manual.
> >
> > My visualizer doesn't appear in the list of Listeners however. What did
I
> > miss?
> >
> > Thanks
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Michael Stover <[EMAIL PROTECTED]>
Apache Software Foundation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]