Exact !
What is strange is that i first put my icons in the
same way as it used by the "MSN plugin" for
example
(resources/images/spellcheckplugin/spellcheck.png) ...
and it didn't work, I don't understand why ... :S
But when you do it in a directory inside the
spellcheckplugin
(net/java/sip/communicator/plugin/spellcheckplugin/resources
/spellcheck.png),
it works ! :S
Whatever ...
Thanx JD !
Toni
Date: Mon, 7 May 2007 18:40:55 +0200
From: francky vincent <hinomura.yo gmail.com>
Content-Type: multipart/alternative;
boundary="----=_Part_87648_25526100.1178556055423"
;
Subject: [sip-comm-dev] Can't run the bundle
Hi Toni,
I tried to put an icon on the JButton like it's done
in the pluginmanager
plugin and it works...
Be sure to have the correct path to your .png file in
the
resources.properties
I had the same error message before correcting the
path.
To be clear, i've got 3 files, the activator, the
Resource.java and the
resources.properties. Besides i've got a class SButton
for creating a
JButton which has the icon already associated and the
method
addActionListener(). So that the button is ready and
operational when we
call it in the ....Activator.java
I'm on msn if want further explications.
JD
____________________________________________________________
_______________
Découvrez une nouvelle façon d'obtenir des réponses à toutes
vos questions !
Profitez des connaissances, des opinions et des expériences
des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.c
om
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
For additional commands, e-mail: dev-help sip-communicator.dev.java.net
|