Skip to main content
edited tags
Link
Sachin
  • 18.9k
  • 33
  • 110
  • 141
formatting etc.
Source Link
Sanjay T. Sharma
  • 23.3k
  • 4
  • 63
  • 72

I have the following code which is changing the text I am inputting to UPPERCASE

if(WrtMsg.isDisplayable()== true); { //System.out.println(test.toString().toUpperCase()); RecView.setText(test.toString().toUpperCase()); } 

}

Now I want special characters like asterix (*) to be changes as text. Example ** to ATX ATX ... So the output will be displayed as ATXATX.

WrtMsgWrtMsg is the jtextareajtextarea of text input and RecViewRecView is the jtextareajtextarea where the output is showing.

ANyAny help please? thanksThanks.

I have the following code which is changing the text I am inputting to UPPERCASE

if(WrtMsg.isDisplayable()== true); { //System.out.println(test.toString().toUpperCase()); RecView.setText(test.toString().toUpperCase()); 

}

Now I want special characters like asterix (*) to be changes as text. Example * to ATX ... So the output will be displayed as ATX.

WrtMsg is the jtextarea of text input and RecView is the jtextarea where the output is showing.

ANy help please? thanks

I have the following code which is changing the text I am inputting to UPPERCASE

if(WrtMsg.isDisplayable()== true); { //System.out.println(test.toString().toUpperCase()); RecView.setText(test.toString().toUpperCase()); } 

Now I want special characters like asterix (*) to be changes as text. Example * to ATX ... So the output will be displayed as ATX.

WrtMsg is the jtextarea of text input and RecView is the jtextarea where the output is showing.

Any help please? Thanks.

Source Link

java replace special characters to text

I have the following code which is changing the text I am inputting to UPPERCASE

if(WrtMsg.isDisplayable()== true); { //System.out.println(test.toString().toUpperCase()); RecView.setText(test.toString().toUpperCase()); 

}

Now I want special characters like asterix (*) to be changes as text. Example * to ATX ... So the output will be displayed as ATX.

WrtMsg is the jtextarea of text input and RecView is the jtextarea where the output is showing.

ANy help please? thanks