Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Symantec CurrencyTextField

Status
Not open for further replies.

ceaton

MIS
Apr 26, 1999
27
US
I need to know what method is used to retrieve data from the<br>
CurrencyTextField, should be something like <br>
getFormattedText()however this is incorrect, what other method is there? JDK1.2.2 compiler gives the following error: Method getFormattedText() not found in<br>
class com.symantec.itools.awt.CurrencyTextField.<br>
<br>
and here is my code: <br>
<br>
labeluser33.setText( useradj3.getFormattedText());<br>
<br>
useradj3 is the CurrencyTextField;<br>
labeluser33 is where I would like the data to go.<br>
<br>
<br>
Is there a work around for this problem? Is there another way to create a CurrencyTextField if there isn't another work around?<br>
<br>
Thanks,<br>
<br>
Courtney <p> Courtney<br><a href=mailto: ceaton@lrp.com> ceaton@lrp.com</a><br><a href= > </a><br>
 
Hi,<br>
<br>
Here is method required to retrive.getDataText() is retrieve<br>
value and getCurrencySymbol()Gets the currency symbol used with a value.<br>
<br>
Look into the Symatec API documentation.<br>
<br>
getDataText()<br>
<br>
public synchronized String getDataText()<br>
<br>
<br>
Gets the component's text value.<br>
<br>
Returns: <br>
<br>
the text of this component <br>
<br>
<br>
<br>
<br>
getCurrencySymbol<br>
<br>
<br>
public String getCurrencySymbol()<br>
<br>
<br>
Gets the currency symbol used with a value. The default value is "$".<br>
<br>
Returns: <br>
<br>
the currency symbol<br>
<br>
See Also:<br>
<br>
setCurrencySymbol <br>
<br>
Srini
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top