Netrexx Help

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Netrexx Help

britten /Quique Britto (SPAIN VAL Export Mngr AMX)
I am trying to change the tooltip colour in my app to yellow by extending
the JToolTip class, the code is as follows.:

b = JButton( "test" )

/* public JToolTip createToolTip() { return(new CustomToolTip( this ); } */
This is needed to override the default createToolTip() method in java, how
can I trnaslate the above code to netrexx?

b.setToolTipText( "testing" )

..
..
class CustomToolTip extends JToolTip
method CustomToolTip( co = JComponent )
  super()
  this.setComponent( co )
  this.setBackGround( Color.yellow )
..
..


Any help is appreciated...thanks
Enrique


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>