Hi,

I'm not sure if this is the correct mailling-list but i was unable to find an other one to post this to.

I hava a small problem with org.apache.jorphan.gui.JLabeledTextField:
The tooltips set by setToolTipText(String text) are not displayed.
I have created a small patch to fix this issue. Maybe someone could integrate it into the Source Tree.

Thanks for your help,

        Fabian
--
Fabian Bieker, QA
Netzwert AG, An den Treptowers 1, 12435 Berlin, Germany
Voice: +49.30.5900800-0 Fax: +49.30.5900800-700
http://www.netzwert.ag
#Index: packet/AccountingRequest.java
#===================================================================
#RCS file: /cvsroot/jradius/jradius/java/src/net/sf/jradius/packet/AccountingRequest.java,v
#retrieving revision 1.12
#diff -r1.12 AccountingRequest.java
28c28
< import net.sf.jradius.packet.attribute.value.NamedValue;
---
> import net.sf.jradius.packet.attribute.value.OctetsValue;
93a94
> 	// patched by fb
95,96c96,102
<         NamedValue s = (NamedValue)a.getValue();
<         s.setValue(new Long(type));
---
>         OctetsValue s = (OctetsValue)a.getValue();
> 	byte[] buf = new byte[4];
> 	buf[0]=(byte)((type & 0xff000000)>>>24);
> 	buf[1]=(byte)((type & 0x00ff0000)>>>16);
> 	buf[2]=(byte)((type & 0x0000ff00)>>>8);
> 	buf[3]=(byte)((type & 0x000000ff));
>         s.setValue(buf);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to